From d277b9cf35f2ba22798549cec5ee613273833b3b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 26 Mar 2023 16:43:33 -0400 Subject: [PATCH] v2.0.1: fixed a no text found error with shield battery and antimagic --- .../shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java index 3f882347d..b24488ab9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java @@ -575,7 +575,7 @@ public abstract class Wand extends Item { if (target == curUser.pos && curUser.hasTalent(Talent.SHIELD_BATTERY)){ if (curUser.buff(MagicImmune.class) != null){ - GLog.w( Messages.get(this, "no_magic") ); + GLog.w( Messages.get(Wand.class, "no_magic") ); return; }