Always send a empty string. Never lookup a offline players UUID
This commit is contained in:
parent
0ebfe0a776
commit
4a63ff07ee
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user