Fix monitor creating too many servers

This commit is contained in:
Sam 2018-08-20 19:17:50 +01:00 committed by Alexander Meech
parent dc7f87ce99
commit fc86275564

View File

@ -112,7 +112,7 @@ public class MinecraftServer
} }
// This is super dodgy, this is the only way around monitor not killing game servers with the new MOTD system // This is super dodgy, this is the only way around monitor not killing game servers with the new MOTD system
if (_motd.isEmpty() || _motd.contains("OPEN")) if (_motd.isEmpty() || _motd.contains("VOTING") || _motd.contains("STARTING") || _motd.contains("WAITING"))
{ {
if (_playerCount < _maxPlayerCount) if (_playerCount < _maxPlayerCount)
{ {