Fix respawnevent being fired with old player instead of new. Fixes #5658 (#5668)

This commit is contained in:
Vincent Lee authored and LexManos committed 2019-04-04 19:41:27 -07:00
1 parent 3f735b715b
commit 323fdb014d
1 file changed
+1 -1
@@ -111,7 +111,7 @@
this.field_177454_f.put(entityplayermp.func_110124_au(), entityplayermp);
entityplayermp.func_71116_b();
entityplayermp.func_70606_j(entityplayermp.func_110143_aJ());
+ net.minecraftforge.fml.hooks.BasicEventHooks.firePlayerRespawnEvent( p_72368_1_, p_72368_3_ );
+ net.minecraftforge.fml.hooks.BasicEventHooks.firePlayerRespawnEvent(entityplayermp, p_72368_3_);
return entityplayermp;
}