From b8080a9dbeaf12bfc3d7dd5eb5ace993847bb85b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 16 Sep 2014 19:15:59 -0400 Subject: [PATCH] V0.2.0a: Fixed a Bug with Sandals of Nature --- .../shatteredpixeldungeon/items/artifacts/SandalsOfNature.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java index d842364c5..5f9be98bc 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java @@ -172,6 +172,7 @@ public class SandalsOfNature extends Artifact { GLog.w("Your " + name + " have already gained nutrients from that seed recently."); } else { seeds.add(item.name()); + Hero hero = Dungeon.hero; hero.sprite.operate( hero.pos ); hero.busy(); @@ -194,6 +195,7 @@ public class SandalsOfNature extends Artifact { } else { GLog.i("Your " + name + " absorb the seed, they seem healthier."); } + item.detach(hero.belongings.backpack); } } }