mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
More fixes and improvements
This commit is contained in:
parent
a03c73f8d6
commit
2f1fd87435
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue