mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Fire WorldEvent.Load for Client worlds. Closes #1719
This commit is contained in:
1 parent
b2ca559851
commit
7c03542d94
1 file changed
+6
-1
@@ -1,6 +1,6 @@
|
||||
--- ../src-base/minecraft/net/minecraft/client/multiplayer/WorldClient.java
|
||||
+++ ../src-work/minecraft/net/minecraft/client/multiplayer/WorldClient.java
|
||||
@@ -54,8 +54,8 @@
|
||||
@@ -54,12 +54,13 @@
|
||||
super(new SaveHandlerMP(), new WorldInfo(p_i45063_2_, "MpServer"), WorldProvider.func_76570_a(p_i45063_3_), p_i45063_5_, true);
|
||||
this.field_73035_a = p_i45063_1_;
|
||||
this.func_72912_H().func_176144_a(p_i45063_4_);
|
||||
@@ -10,3 +10,8 @@
|
||||
this.field_73020_y = this.func_72970_h();
|
||||
this.field_72988_C = new SaveDataMemoryStorage();
|
||||
this.func_72966_v();
|
||||
this.func_72947_a();
|
||||
+ net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.world.WorldEvent.Load(this));
|
||||
}
|
||||
|
||||
public void func_72835_b()
|
||||
Reference in new issue
Block a user