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
+2
-2
@@ -131,13 +131,13 @@ public class RoundShield extends MeleeWeapon {
|
|||||||
@Override
|
@Override
|
||||||
public void storeInBundle(Bundle bundle) {
|
public void storeInBundle(Bundle bundle) {
|
||||||
super.storeInBundle(bundle);
|
super.storeInBundle(bundle);
|
||||||
hasBlocked = bundle.getBoolean(BLOCKED);
|
bundle.put(BLOCKED, hasBlocked);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void restoreFromBundle(Bundle bundle) {
|
public void restoreFromBundle(Bundle bundle) {
|
||||||
super.restoreFromBundle(bundle);
|
super.restoreFromBundle(bundle);
|
||||||
bundle.put(BLOCKED, hasBlocked);
|
hasBlocked = bundle.getBoolean(BLOCKED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user