From 4a63ff07eea386b621cf1ab7475da8c683d84170 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 11 Apr 2014 04:45:55 +1200 Subject: [PATCH] Always send a empty string. Never lookup a offline players UUID --- .../libraryaddict/disguise/utilities/DisguiseUtilities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index ba865d9d..70250ba2 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -299,7 +299,7 @@ public class DisguiseUtilities { } public static UUID getUUID(final Disguise disguise, final String playerName) { - if (LibVersion.getGameVersion() == LibVersion.V1_7) { + /* if (LibVersion.getGameVersion() == LibVersion.V1_7) { Player p = Bukkit.getPlayerExact(playerName); if (p != null) { return p.getUniqueId(); @@ -342,7 +342,7 @@ public class DisguiseUtilities { }); } } - } + }*/ return null; }