v1.1.0: fixed cases where summoned elemental could be null
This commit is contained in:
parent
9f0b86dc61
commit
ecfca5ff2d
|
@ -134,7 +134,7 @@ public class SummonElemental extends Spell {
|
|||
@Override
|
||||
public void restoreFromBundle(Bundle bundle) {
|
||||
super.restoreFromBundle(bundle);
|
||||
summonClass = bundle.getClass(SUMMON_CLASS);
|
||||
if (bundle.contains(SUMMON_CLASS)) summonClass = bundle.getClass(SUMMON_CLASS);
|
||||
}
|
||||
|
||||
public WndBag.ItemSelector selector = new WndBag.ItemSelector() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user