v3.0.0: fixed Duelist's block ability not saving/loading data properly

This commit is contained in:
Evan Debenham
2025-02-15 15:17:16 -05:00
committed by Evan Debenham
parent 5ec66fe971
commit 1b7e2ed9d0

View File

@@ -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);
}
}
}