mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix crash with PermissionsAPI (#8330)
Fixes a crash in singleplayer, when the internal server didn't shut down correctly between world loads.
This commit is contained in:
1 parent
7259887176
commit
335cb5edc4
2 files changed
+13
-16
No files matched your search
@@ -111,7 +111,6 @@ public class ServerLifecycleHooks
|
||||
public static void handleServerStopping(final MinecraftServer server)
|
||||
{
|
||||
allowLogins.set(false);
|
||||
PermissionAPI.resetPermissionAPI();
|
||||
MinecraftForge.EVENT_BUS.post(new ServerStoppingEvent(server));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user