Fix silly issue with last build.

This commit is contained in:
Brianna 2020-10-01 17:15:54 -05:00
parent 99b449998f
commit fce887f0d4

View File

@ -13,7 +13,7 @@ public class PlayerDataManager {
private final Map<UUID, PlayerData> registeredPlayers = new HashMap<>();
private PlayerData getPlayerData(UUID uuid) {
if (registeredPlayers.containsKey(uuid))
if (!registeredPlayers.containsKey(uuid))
registeredPlayers.put(uuid, new PlayerData());
return registeredPlayers.get(uuid);
}