mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Moved GameShuttingDownEvent hook to DedicatedServer class. Fixes #9601
This commit is contained in:
2 files changed
+8
-9
No files matched your search
@@ -41,15 +41,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -538,6 +_,8 @@
|
||||
}
|
||||
|
||||
public void m_7041_() {
|
||||
+ if (m_130010_() && m_6982_()) net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.GameShuttingDownEvent());
|
||||
+
|
||||
if (this.f_177872_.m_142763_()) {
|
||||
this.m_236737_();
|
||||
}
|
||||
@@ -582,6 +_,7 @@
|
||||
for(ServerLevel serverlevel2 : this.m_129785_()) {
|
||||
if (serverlevel2 != null) {
|
||||
|
||||
@@ -37,3 +37,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -492,6 +_,7 @@
|
||||
}
|
||||
|
||||
public void m_7041_() {
|
||||
+ net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.GameShuttingDownEvent());
|
||||
super.m_7041_();
|
||||
Util.m_137580_();
|
||||
SkullBlockEntity.m_196704_();
|
||||
Reference in new issue
Block a user