Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 13:52:50 +02:00
Fix writable book id
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren