Unleash the Kraken!

This commit is contained in:
GJ
2013-05-01 21:17:59 -04:00
parent 3322677d32
commit c465546871
5 changed files with 103 additions and 4 deletions

View File

@ -50,6 +50,14 @@ public final class MobHealthbarUtils {
}
String oldName = target.getCustomName();
if (oldName == null) {
oldName = "";
}
else if (oldName.equalsIgnoreCase("The Kraken")) {
return;
}
boolean oldNameVisible = target.isCustomNameVisible();
String newName = createHealthDisplay(profile, target, damage);
@ -59,10 +67,6 @@ public final class MobHealthbarUtils {
int displayTime = Config.getInstance().getMobHealthbarTime();
if (displayTime != -1) {
if (oldName == null) {
oldName = "";
}
boolean updateName = !ChatColor.stripColor(oldName).equalsIgnoreCase(ChatColor.stripColor(newName));
if (updateName) {