Cleanup and minor code tweaks

This commit is contained in:
Electroblob
2018-02-24 13:49:27 +00:00
parent 74ddcd79ca
commit 76d4e3d029
3 changed files with 11 additions and 14 deletions
@@ -58,8 +58,8 @@ public class MindControl extends Spell {
if(!world.isRemote){
if(!canControl(target)){
// Adds a message saying that the player/boss entity/wizard resisted mind control
if(!world.isRemote) caster.sendMessage(new TextComponentTranslation("spell.resist",
target.getName(), this.getNameForTranslationFormatted()));
caster.sendMessage(new TextComponentTranslation("spell.resist", target.getName(),
this.getNameForTranslationFormatted()));
}else if(target instanceof EntityLiving){