V0.2.0a: Fixed a Bug with Sandals of Nature
This commit is contained in:
parent
28bc72153b
commit
b8080a9dbe
|
@ -172,6 +172,7 @@ public class SandalsOfNature extends Artifact {
|
||||||
GLog.w("Your " + name + " have already gained nutrients from that seed recently.");
|
GLog.w("Your " + name + " have already gained nutrients from that seed recently.");
|
||||||
} else {
|
} else {
|
||||||
seeds.add(item.name());
|
seeds.add(item.name());
|
||||||
|
|
||||||
Hero hero = Dungeon.hero;
|
Hero hero = Dungeon.hero;
|
||||||
hero.sprite.operate( hero.pos );
|
hero.sprite.operate( hero.pos );
|
||||||
hero.busy();
|
hero.busy();
|
||||||
|
@ -194,6 +195,7 @@ public class SandalsOfNature extends Artifact {
|
||||||
} else {
|
} else {
|
||||||
GLog.i("Your " + name + " absorb the seed, they seem healthier.");
|
GLog.i("Your " + name + " absorb the seed, they seem healthier.");
|
||||||
}
|
}
|
||||||
|
item.detach(hero.belongings.backpack);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user