fix: changed maxLobbies from int to Integer

This commit is contained in:
Yannik Bretschneider 2021-06-06 21:36:09 +02:00
parent e029106a11
commit e7f22099b1

View File

@ -32,7 +32,7 @@ public class Server {
private static ScenarioConfig scenarioConfig; private static ScenarioConfig scenarioConfig;
private static CharacterConfig characterConfig; private static CharacterConfig characterConfig;
private static int maxLobbies; private static Integer maxLobbies;
public static void main(String[] args) { public static void main(String[] args) {
@ -230,7 +230,7 @@ public class Server {
return characterConfig; return characterConfig;
} }
public static int getMaxLobbies() { public static Integer getMaxLobbies() {
return maxLobbies; return maxLobbies;
} }
} }