mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
Fix Bad Packet
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user