Fix infinite loop in GameWorldManager
This commit is contained in:
parent
d6dc750ece
commit
44e016f272
|
@ -39,7 +39,7 @@ public class GameWorldManager implements Listener
|
|||
while (worldIterator.hasNext())
|
||||
{
|
||||
long timeLeft = endTime - System.currentTimeMillis();
|
||||
if (timeLeft <= 0) continue;
|
||||
if (timeLeft <= 0) break;
|
||||
|
||||
final WorldData worldData = worldIterator.next();
|
||||
|
||||
|
|
Loading…
Reference in New Issue