mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 07:59:28 +00:00
Removed entity persistence
This commit is contained in:
@@ -95,7 +95,6 @@ public class LivingEcoBoss extends PluginDependent {
|
|||||||
|
|
||||||
private void onSpawn() {
|
private void onSpawn() {
|
||||||
entity.getPersistentDataContainer().set(this.getPlugin().getNamespacedKeyFactory().create("boss"), PersistentDataType.STRING, boss.getName());
|
entity.getPersistentDataContainer().set(this.getPlugin().getNamespacedKeyFactory().create("boss"), PersistentDataType.STRING, boss.getName());
|
||||||
entity.setPersistent(true);
|
|
||||||
|
|
||||||
entity.setCustomName(boss.getDisplayName());
|
entity.setCustomName(boss.getDisplayName());
|
||||||
entity.setCustomNameVisible(true);
|
entity.setCustomNameVisible(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user