mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 12:05:41 +01:00
Change new trade list boolean
This commit is contained in:
parent
a8d13fadb3
commit
907b5e020c
@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user