From 907b5e020c64b5ecf61555ba073d07aa01a5e473 Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Mon, 3 Jun 2019 21:20:32 +0200 Subject: [PATCH] Change new trade list boolean --- .../protocol1_14_3to1_14_2/Protocol1_14_3To1_14_2.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14_3to1_14_2/Protocol1_14_3To1_14_2.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14_3to1_14_2/Protocol1_14_3To1_14_2.java index a203ef542..5bfe35315 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14_3to1_14_2/Protocol1_14_3To1_14_2.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14_3to1_14_2/Protocol1_14_3To1_14_2.java @@ -36,9 +36,8 @@ public class Protocol1_14_3To1_14_2 extends Protocol { } wrapper.passthrough(Type.VAR_INT); wrapper.passthrough(Type.VAR_INT); - wrapper.passthrough(Type.BOOLEAN); - - wrapper.write(Type.BOOLEAN, true); // new "restockable" boolean added in pre-1 + boolean regularVillager = wrapper.passthrough(Type.BOOLEAN); + wrapper.write(Type.BOOLEAN, regularVillager); // new boolean added in pre-1 } }); }