reset tick rate when changing worlds in SP

This commit is contained in:
gnembon committed 2020-04-27 18:05:08 -03:00
1 parent 30dd021703
commit 291268c14f
2 files changed
+19

No files matched your search

+1
View File
@@ -118,6 +118,7 @@ public class CarpetServer // static for now - easier to handle all around the co
if (scriptServer != null) scriptServer.onClose();
settingsManager.detachServer();
LoggerRegistry.stopLoggers();
TickSpeed.reset();
extensions.forEach(e -> e.onServerClosed(server));
minecraft_server = null;
}