v0.3.0: changed mimic load order in order to prevent save/load healing mimics

This commit is contained in:
Evan Debenham 2015-05-26 09:58:07 -04:00
parent 73e0f8fe1d
commit 8e2f0c0a37

View File

@ -64,9 +64,9 @@ public class Mimic extends Mob {
@SuppressWarnings("unchecked")
@Override
public void restoreFromBundle( Bundle bundle ) {
super.restoreFromBundle( bundle );
items = new ArrayList<Item>( (Collection<Item>) ((Collection<?>) bundle.getCollection( ITEMS ) ));
adjustStats( bundle.getInt( LEVEL ) );
super.restoreFromBundle(bundle);
}
@Override