From 6b432a176e4fa81a91477c1db73783b1b260b8e3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 7 Feb 2015 20:14:08 -0500 Subject: [PATCH] v0.2.4: fixed a casting error with mimic items --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java index 0451920d3..098d4968c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java @@ -64,7 +64,7 @@ public class Mimic extends Mob { @Override public void restoreFromBundle( Bundle bundle ) { super.restoreFromBundle( bundle ); - items = new ArrayList( (Collection) bundle.getCollection( ITEMS ) ); + items = new ArrayList( (Collection) ((Collection) bundle.getCollection( ITEMS ) )); adjustStats( bundle.getInt( LEVEL ) ); }