Merge pull request #2126 from diesieben07/join-world-fix

Fix CME when entities are spawned from EntityJoinWorldEvent
This commit is contained in:
LexManos 2015-10-27 18:46:18 -07:00
commit 7d5b860ff3

View file

@ -152,9 +152,12 @@
{
if (this.field_150816_i.containsKey(p_177426_1_))
{
@@ -949,6 +951,7 @@
@@ -947,8 +949,9 @@
entity.func_110123_P();
}
this.field_76637_e.func_175650_b(this.field_76645_j[i]);
- this.field_76637_e.func_175650_b(this.field_76645_j[i]);
+ this.field_76637_e.func_175650_b(com.google.common.collect.ImmutableList.copyOf(this.field_76645_j[i]));
}
+ MinecraftForge.EVENT_BUS.post(new ChunkEvent.Load(this));
}