From 06230800b9ec3b6804aecf72c9b7af92a4ac90f0 Mon Sep 17 00:00:00 2001 From: fullwall Date: Sun, 4 Dec 2022 01:38:36 +0800 Subject: [PATCH] Move minecraft placeholder cache to AbstractNPC --- main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java b/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java index eee43d890..b7c2bf903 100644 --- a/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java +++ b/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java @@ -59,7 +59,6 @@ import net.citizensnpcs.util.Util; public class CitizensNPC extends AbstractNPC { private ChunkCoord cachedCoord; private EntityController entityController; - private Object minecraftComponentCache; private final CitizensNavigator navigator = new CitizensNavigator(this); private int updateCounter = 0; @@ -242,7 +241,6 @@ public class CitizensNPC extends AbstractNPC { @Override public void setName(String name) { - minecraftComponentCache = Messaging.minecraftComponentFromRawMessage(name); super.setName(name); if (requiresNameHologram() && !hasTrait(HologramTrait.class)) {