mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue