From a99803117b9a282f67ff20cb447ac00969db9f0d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 13 Sep 2016 20:39:13 -0400 Subject: [PATCH] v0.4.2b: fixed a bug where a certain cursed wand effect would never trigger --- .../shatteredpixeldungeon/items/wands/CursedWand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java index d1a54d4d6..7a6d4d182 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java @@ -59,6 +59,7 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.CursingTrap; import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap; import com.shatteredpixel.shatteredpixeldungeon.levels.traps.SummoningTrap; import com.shatteredpixel.shatteredpixeldungeon.mechanics.Ballistica; +import com.shatteredpixel.shatteredpixeldungeon.messages.Languages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.plants.Plant; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; @@ -401,7 +402,7 @@ public class CursedWand { case 2: try { Dungeon.saveAll(); - if(!Messages.get(CursedWand.class, "nothing").equals("nothing happens")){ + if(Messages.lang() != Languages.ENGLISH){ //Don't bother doing this joke to none-english speakers, I doubt it would translate. GLog.i(Messages.get(CursedWand.class, "nothing")); wand.wandUsed();