Bug fix and changes #27

Merged
ShadowRanger merged 10 commits from master into master 2015-06-24 20:17:14 -04:00
20 changed files with 527 additions and 189 deletions
Showing only changes of commit 2f1fd87435 - Show all commits

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();
}