mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-24 17:37:39 +01:00
Fix writable book id
This commit is contained in:
parent
d32a4541a9
commit
6a66d7653f
@ -75,7 +75,7 @@ public class Protocol1_17_1To1_17 extends AbstractProtocol<ClientboundPackets1_1
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
CompoundTag tag = new CompoundTag();
|
||||
Item item = new DataItem(825, (byte) 1, (short) 0, tag); // Magic value for writable books
|
||||
Item item = new DataItem(942, (byte) 1, (short) 0, tag); // Magic value for writable books
|
||||
|
||||
// Write the item, edit the tag down the line
|
||||
wrapper.write(Type.FLAT_VAR_INT_ITEM, item);
|
||||
|
Loading…
Reference in New Issue
Block a user