Fix Bad Packet

This commit is contained in:
Kam committed 2025-07-07 17:27:35 -04:00
1 parent fb66252b2a
commit 8a497f82a0
1 file changed
+1 -2
@@ -58,7 +58,6 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
public ScriptPlayer(T player) {
super(player);
this.player = player;
this.data = getData();
}
/**
@@ -851,7 +850,7 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
@Override
public IActionManager getActionManager() {
if (data.actionManager.getName().isEmpty())
if (getData().actionManager.getName().isEmpty())
data.actionManager.setName(player.getDisplayName());
return data.actionManager;