v3.0.0: fixed Duelist's block ability not saving/loading data properly
This commit is contained in:
committed by
Evan Debenham
parent
5ec66fe971
commit
1b7e2ed9d0
@@ -131,13 +131,13 @@ public class RoundShield extends MeleeWeapon {
|
||||
@Override
|
||||
public void storeInBundle(Bundle bundle) {
|
||||
super.storeInBundle(bundle);
|
||||
hasBlocked = bundle.getBoolean(BLOCKED);
|
||||
bundle.put(BLOCKED, hasBlocked);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void restoreFromBundle(Bundle bundle) {
|
||||
super.restoreFromBundle(bundle);
|
||||
bundle.put(BLOCKED, hasBlocked);
|
||||
hasBlocked = bundle.getBoolean(BLOCKED);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user