mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 13:04:46 +00:00
Code Cleanup / Reformat
This commit is contained in:
1 parent
800eec4d81
commit
43bc1eb81f
40 files changed
+258
-243
No files matched your search
@@ -572,7 +572,7 @@ public class ScriptPlayerEventHandler {
|
||||
if (event.player == null || event.player.worldObj == null)
|
||||
return;
|
||||
|
||||
if (event.player.worldObj instanceof WorldServer&& event.player instanceof EntityPlayerMP) {
|
||||
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());
|
||||
|
||||
Reference in new issue
Block a user