From 7af61ee7df29b8c51d944cffc617061bfc517721 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 11 Apr 2014 04:57:14 +1200 Subject: [PATCH] Opps. Now it grabs it from a online player --- .../disguise/utilities/DisguiseUtilities.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 70250ba2..17d30321 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -299,11 +299,11 @@ 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(); - } else if (disguise != null) { + } /*else if (disguise != null) { if (namesUuids.containsKey(playerName)) { if (namesUuids.get(playerName) != null) { return UUID.fromString(namesUuids.get(playerName)); @@ -341,8 +341,8 @@ public class DisguiseUtilities { } }); } - } - }*/ + }*/ + } return null; }