forked from Upstream/mmocore
!undo player data loading
This commit is contained in:
parent
7efc7133f7
commit
7efc388428
@ -32,9 +32,7 @@ public abstract class PlayerDataManager {
|
||||
* @return Player data, if it's loaded
|
||||
*/
|
||||
public PlayerData get(UUID uuid) {
|
||||
if(isLoaded(uuid))
|
||||
return Objects.requireNonNull(data.get(uuid), "Player data is not loaded");
|
||||
else return setup(uuid);
|
||||
return Objects.requireNonNull(data.get(uuid), "Player data is not loaded");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user