From ca47ef1e069c696c3e681d0c565d051f05e6fc0a Mon Sep 17 00:00:00 2001 From: Pepich Date: Sun, 17 Sep 2017 23:46:56 +0200 Subject: [PATCH] Fixed second protocol violation (again, again?) --- src/com/redstoner/modules/onlineplayers/OnlinePlayers.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/redstoner/modules/onlineplayers/OnlinePlayers.java b/src/com/redstoner/modules/onlineplayers/OnlinePlayers.java index 6a85c4f..bf5a3d6 100644 --- a/src/com/redstoner/modules/onlineplayers/OnlinePlayers.java +++ b/src/com/redstoner/modules/onlineplayers/OnlinePlayers.java @@ -19,7 +19,7 @@ import com.redstoner.misc.Main; import com.redstoner.modules.Module; @AutoRegisterListener -@Version(major = 4, minor = 0, revision = 1, compatible = 4) +@Version(major = 4, minor = 0, revision = 2, compatible = 4) @SuppressWarnings("unchecked") public class OnlinePlayers implements Module, Listener { @@ -73,7 +73,7 @@ public class OnlinePlayers implements Module, Listener for (Object obj : players) { JSONObject o = (JSONObject) obj; - if (((String) o.get("uuid")).equals(player.getUniqueId().toString())) + if (((String) o.get("UUID")).equals(player.getUniqueId().toString())) toRemove.add(obj); } players.removeAll(toRemove);