Change new trade list boolean

This commit is contained in:
KennyTV 2019-06-03 21:20:32 +02:00
parent a8d13fadb3
commit 907b5e020c

View File

@ -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
}
});
}