v0.3.0: changed mimic load order in order to prevent save/load healing mimics
This commit is contained in:
parent
73e0f8fe1d
commit
8e2f0c0a37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user