9
0
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:
Auxilor
2021-04-01 14:11:38 +01:00
parent 06207c5a67
commit ad3e66cac9

View File

@@ -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);