mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
A BUNCH OF Attribute Fixes
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user