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