diff --git a/src/main/java/com/songoda/epicheads/players/EPlayer.java b/src/main/java/com/songoda/epicheads/players/EPlayer.java index ff64410..935dcd2 100644 --- a/src/main/java/com/songoda/epicheads/players/EPlayer.java +++ b/src/main/java/com/songoda/epicheads/players/EPlayer.java @@ -20,7 +20,8 @@ public class EPlayer { public EPlayer(UUID uuid, List favorites) { this.uuid = uuid; - this.favorites = favorites; + if (favorites != null) + this.favorites = favorites; } public UUID getUuid() {