mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 10:45:50 -07:00
Fixed the onDisable() event of plugins again after it was overwritten some days ago.
This commit is contained in:
@@ -163,6 +163,11 @@ public class MinecraftServer implements ICommandListener, Runnable {
|
||||
|
||||
private void g() {
|
||||
a.info("Stopping server");
|
||||
// CraftBukkit
|
||||
if(server != null) {
|
||||
server.disablePlugins();
|
||||
}
|
||||
|
||||
if (this.f != null) {
|
||||
this.f.d();
|
||||
}
|
||||
|
Reference in New Issue
Block a user