mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
parent
8e02b57369
commit
7086717473
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user