Fix PlayerChangedDimensionEvent using incorrect from dimension argument in ServerPlayerEntity.teleport.

This commit is contained in:
mcenderdragon authored and GitHub committed 2020-02-14 12:35:25 -08:00
1 parent 220cb1fd81
commit 4e45da3cc3
1 file changed
+1 -1
@@ -158,7 +158,7 @@
this.field_71134_c.func_73080_a(p_200619_1_);
this.field_71133_b.func_184103_al().func_72354_b(this, p_200619_1_);
this.field_71133_b.func_184103_al().func_72385_f(this);
+ net.minecraftforge.fml.hooks.BasicEventHooks.firePlayerChangedDimensionEvent(this, p_200619_1_.field_73011_w.func_186058_p(), this.field_71093_bK);
+ net.minecraftforge.fml.hooks.BasicEventHooks.firePlayerChangedDimensionEvent(this, serverworld.field_73011_w.func_186058_p(), this.field_71093_bK);
}
}