Skip to content

Commit

Permalink
Fire WorldEvent.Load for Client worlds. Closes MinecraftForge#1719
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Feb 23, 2015
1 parent b2ca559 commit 7c03542
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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_);
Expand All @@ -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()

0 comments on commit 7c03542

Please sign in to comment.