mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 11:15:57 -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() {
|
private void g() {
|
||||||
a.info("Stopping server");
|
a.info("Stopping server");
|
||||||
|
// CraftBukkit
|
||||||
|
if(server != null) {
|
||||||
|
server.disablePlugins();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.f != null) {
|
if (this.f != null) {
|
||||||
this.f.d();
|
this.f.d();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user