A BUNCH OF Attribute Fixes

This commit is contained in:
Kam committed 2025-04-26 05:46:54 -04:00
1 parent 0c745fc90b
commit cb3eed7bf0
5 files changed
+85 -45

No files matched your search

@@ -570,6 +570,7 @@ public class ScriptPlayerEventHandler {
if (event.player.worldObj instanceof WorldServer&& event.player instanceof EntityPlayerMP) {
PlayerDataScript handler = ScriptController.Instance.getPlayerScripts(event.player);
IPlayer scriptPlayer = (IPlayer) NpcAPI.Instance().getIEntity(event.player);
AttributeController.removeTracker(event.player.getUniqueID());
EventHooks.onPlayerLogout(handler, scriptPlayer);
}
}