Skip to content

Commit

Permalink
fix typo in AddMinigameWorld
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartich0ke committed Sep 11, 2022
1 parent d95b2f6 commit 38b170a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void addMinigameWorld(String minigameName, String worldName, Strin

if (worldType.equals("arena")) {
minigameDataFile.set("minigames." + minigameName + ".arenas" + worldName + ".onlinePlayers", 0);
} else if (worldType.equals("")) {
} else if (worldType.equals("lobby")) {
minigameDataFile.set("minigames." + minigameName + ".lobbies" + worldName + ".onlinePlayers", 0);
} else {
throw new RuntimeException(worldType + "is not a valid worldType. use arena or lobby.");
Expand Down

0 comments on commit 38b170a

Please sign in to comment.