(Hopefully)
This commit is contained in:
ZephireNZ 2013-08-25 18:43:03 +12:00
parent 8e02b57369
commit 7086717473

View File

@ -15,6 +15,8 @@ public class MobHealthDisplayUpdaterTask extends BukkitRunnable {
this.target = target; this.target = target;
this.oldName = target.getMetadata(mcMMO.customNameKey).get(0).asString(); this.oldName = target.getMetadata(mcMMO.customNameKey).get(0).asString();
this.oldNameVisible = target.getMetadata(mcMMO.customVisibleKey).get(0).asBoolean(); this.oldNameVisible = target.getMetadata(mcMMO.customVisibleKey).get(0).asBoolean();
}else{
this.cancel();
} }
} }