mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-28 02:59:16 +00:00
Disable platform on shutdown (#40)
This commit is contained in:
@@ -45,5 +45,9 @@ public class FabricMod implements ModInitializer {
|
||||
injector.getInstance(FloodgateLogger.class)
|
||||
.translatedInfo("floodgate.core.finish", endCtm - ctm);
|
||||
});
|
||||
|
||||
ServerLifecycleEvents.SERVER_STOPPING.register((server) -> {
|
||||
platform.disable();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user