mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 03:00:29 +01:00
Fix for missing userCache
This commit is contained in:
parent
bc4af8972b
commit
5c9c427517
@ -58,8 +58,12 @@ public class OfflinePlayer {
|
||||
this.name = bukkitOfflinePlayer.getName();
|
||||
this.uuid = uuid;
|
||||
|
||||
if (this.name == null && userCacheManager.hasUser(uuid)) {
|
||||
this.name = userCacheManager.getUser(uuid);
|
||||
if (this.name == null) {
|
||||
if(userCacheManager.hasUser(uuid)) {
|
||||
this.name = userCacheManager.getUser(uuid);
|
||||
} else {
|
||||
this.name = "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
FileConfiguration configLoad = YamlConfiguration.loadConfiguration(
|
||||
|
Loading…
Reference in New Issue
Block a user