diff --git a/patches/minecraft/net/minecraft/entity/player/ServerPlayerEntity.java.patch b/patches/minecraft/net/minecraft/entity/player/ServerPlayerEntity.java.patch index c004f20ae..bb37acece 100644 --- a/patches/minecraft/net/minecraft/entity/player/ServerPlayerEntity.java.patch +++ b/patches/minecraft/net/minecraft/entity/player/ServerPlayerEntity.java.patch @@ -8,7 +8,7 @@ boolean flag = this.field_70170_p.func_82736_K().func_223586_b(GameRules.field_223609_l); if (flag) { ITextComponent itextcomponent = this.func_110142_aN().func_151521_b(); -@@ -550,8 +551,10 @@ +@@ -550,13 +551,15 @@ return this.field_71133_b.func_71219_W(); } @@ -19,6 +19,12 @@ this.field_184851_cj = true; DimensionType dimensiontype = this.field_71093_bK; if (dimensiontype == DimensionType.field_223229_c_ && p_212321_1_ == DimensionType.field_223227_a_) { + this.func_213319_R(); +- this.func_71121_q().func_217434_e(this); ++ this.func_71121_q().removePlayer(this, true); //Forge: The player entity is cloned so keep the data until after cloning calls copyFrom + if (!this.field_71136_j) { + this.field_71136_j = true; + this.field_71135_a.func_147359_a(new SChangeGameStatePacket(4, this.field_192040_cp ? 0.0F : 1.0F)); @@ -569,12 +572,13 @@ this.field_71093_bK = p_212321_1_; ServerWorld serverworld1 = this.field_71133_b.func_71218_a(p_212321_1_);