This commit is contained in:
gnembon committed 2022-01-20 00:20:52 +01:00
1 parent 5f8bb863aa
commit f469810fbc
7 files changed
+12 -54

No files matched your search

@@ -650,7 +650,10 @@ public class Auxiliary {
ServerCommandSource s = ((CarpetContext)c).s;
s.getServer().getPlayerManager().saveAllPlayerData();
s.getServer().save(true,true,true);
s.getWorld().getChunkManager().tick(() -> true);
for (ServerWorld world : s.getServer().getWorlds())
{
world.getChunkManager().tick(() -> true, false);
}
CarpetScriptServer.LOG.warn("Saved chunks");
return Value.TRUE;
});