Always send a empty string. Never lookup a offline players UUID

This commit is contained in:
libraryaddict 2014-04-11 04:45:55 +12:00
parent 0ebfe0a776
commit 4a63ff07ee

View File

@ -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;
}