mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Minor cleanup
This commit is contained in:
parent
6a9cfb3acb
commit
950f6b6b4b
@ -198,11 +198,9 @@ public class GameServer implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Process each worlds
|
//Process each worlds
|
||||||
int updatedWorlds = 0;
|
|
||||||
for (World world : gameUniverse.getWorlds()) {
|
for (World world : gameUniverse.getWorlds()) {
|
||||||
if (world.shouldUpdate()) {
|
if (world.shouldUpdate()) {
|
||||||
world.update();
|
world.update();
|
||||||
updatedWorlds++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,9 +210,6 @@ public class GameServer implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
socketServer.tick();
|
socketServer.tick();
|
||||||
|
|
||||||
// LogManager.LOGGER.info("Processed " + gameUniverse.getWorldCount() + " worlds (" + updatedWorlds +
|
|
||||||
// " updated)");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void load() {
|
void load() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user