Fixed issue with favorites initializing as null.

This commit is contained in:
Brianna 2019-05-11 17:09:53 -04:00
parent 0d4120e5fa
commit 4781952ab8
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ public class EPlayer {
public EPlayer(UUID uuid, List<String> favorites) {
this.uuid = uuid;
this.favorites = favorites;
if (favorites != null)
this.favorites = favorites;
}
public UUID getUuid() {