From c90d42973ddc7aff47176310378b32cb6dc80abd Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 24 Jun 2019 19:37:02 -0700 Subject: [PATCH] Fix misaligned ServerWorld initCapabilities patch. --- .../net/minecraft/world/ServerWorld.java.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/ServerWorld.java.patch b/patches/minecraft/net/minecraft/world/ServerWorld.java.patch index df4a3f01c2..eecc8235cc 100644 --- a/patches/minecraft/net/minecraft/world/ServerWorld.java.patch +++ b/patches/minecraft/net/minecraft/world/ServerWorld.java.patch @@ -25,13 +25,15 @@ return p_i50703_1_.func_71218_a(DimensionType.field_223227_a_).func_217481_x(); }); }, p_i50703_6_, false); -@@ -170,11 +174,13 @@ +@@ -166,6 +170,7 @@ + } + + this.field_217496_L = this.field_73011_w.func_186058_p() == DimensionType.field_223227_a_ ? new WanderingTraderSpawner(this) : null; ++ this.initCapabilities(); + } public void func_72835_b(BooleanSupplier p_72835_1_) { - IProfiler iprofiler = this.func_217381_Z(); -+ this.initCapabilities(); - this.field_211159_Q = true; - iprofiler.func_76320_a("world border"); +@@ -175,6 +180,7 @@ this.func_175723_af().func_212673_r(); iprofiler.func_219895_b("weather"); boolean flag = this.func_72896_J();