v2.0.1: fixed a no text found error with shield battery and antimagic

This commit is contained in:
Evan Debenham
2023-03-26 16:43:33 -04:00
committed by Evan Debenham
parent 127709a58a
commit d277b9cf35

View File

@@ -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;
}