v1.3.0: fixed a save/load error in spectral necromancers
This commit is contained in:
+4
-1
@@ -97,7 +97,10 @@ public class SpectralNecromancer extends Necromancer {
|
|||||||
@Override
|
@Override
|
||||||
public void restoreFromBundle(Bundle bundle) {
|
public void restoreFromBundle(Bundle bundle) {
|
||||||
super.restoreFromBundle(bundle);
|
super.restoreFromBundle(bundle);
|
||||||
Collections.addAll(wraithIDs, bundle.getInt(WRAITH_IDS));
|
wraithIDs.clear();
|
||||||
|
for (int i : bundle.getIntArray(WRAITH_IDS)){
|
||||||
|
wraithIDs.add(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user