v2.0.1: fixed a no text found error with shield battery and antimagic
This commit is contained in:
committed by
Evan Debenham
parent
127709a58a
commit
d277b9cf35
@@ -575,7 +575,7 @@ public abstract class Wand extends Item {
|
|||||||
if (target == curUser.pos && curUser.hasTalent(Talent.SHIELD_BATTERY)){
|
if (target == curUser.pos && curUser.hasTalent(Talent.SHIELD_BATTERY)){
|
||||||
|
|
||||||
if (curUser.buff(MagicImmune.class) != null){
|
if (curUser.buff(MagicImmune.class) != null){
|
||||||
GLog.w( Messages.get(this, "no_magic") );
|
GLog.w( Messages.get(Wand.class, "no_magic") );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user