extra npe when world fails to load anyways.
This commit is contained in:
1 parent
493cea2c13
commit
c0e72fe669
1 file changed
+1
-1
@@ -112,7 +112,7 @@ public class CarpetServer // static for now - easier to handle all around the co
|
||||
public static void onServerClosed(MinecraftServer server)
|
||||
{
|
||||
currentCommandDispatcher = null;
|
||||
scriptServer.onClose();
|
||||
if (scriptServer != null) scriptServer.onClose();
|
||||
settingsManager.detachServer();
|
||||
LoggerRegistry.stopLoggers();
|
||||
extensions.forEach(e -> e.onServerClosed(server));
|
||||
|
||||
Reference in new issue
Block a user