mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 20:30:28 +01:00
Fixed the onDisable() event of plugins again after it was overwritten some days ago.
This commit is contained in:
parent
661f209b7e
commit
d228e0c311
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user