Comments out SpongeVanilla and SpongeForge for now
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

This commit is contained in:
2021-08-03 12:48:23 +02:00
parent 00cfe78491
commit 12189c12d7
3 changed files with 10 additions and 5 deletions

View File

@ -87,8 +87,13 @@ public class ServerTypeHandler {
throw new ConfigurationException("Server type configuration file is missing.");
}
while (file.hasNextLine()) {
String nextLine = file.nextLine();
if (nextLine.startsWith("#")) {
continue;
}
//Splits the next file line into arguments
String[] serverTypeInfo = file.nextLine().split(";", -1);
String[] serverTypeInfo = nextLine.split(";", -1);
//Gets list of server versions from file line
String[] serverVersions;