More fixes and improvements

This commit is contained in:
ShadowRanger 2015-06-23 19:07:19 +10:00
parent a03c73f8d6
commit 2f1fd87435

View file

@ -56,11 +56,10 @@ public class UUIDUtil {
Bukkit.getServer().getLogger().warning("Exception while running UUIDFetcher");
e.printStackTrace();
*/
Bukkit.getServer().getLogger().warning("Exception while running UUIDFetcher");
// Failed to retrieve with UUIDFetcher, server might be offline?
// Fallback on searching for the player via their name
OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(name);
if (offlinePlayer != null) {
uuid = offlinePlayer.getUniqueId();
}