3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 00:00:28 +01:00

Merge pull request #1207 from KennyTV/dev

Fix book opening
Dieser Commit ist enthalten in:
Myles 2019-03-03 13:29:29 +00:00 committet von GitHub
Commit ca863ba8c6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -177,6 +177,7 @@ public class InventoryPackets {
wrapper.passthrough(Type.INT); // Maximum number of trade uses wrapper.passthrough(Type.INT); // Maximum number of trade uses
} }
} else if (channel.equals("minecraft:book_open") || channel.equals("book_open")) { } else if (channel.equals("minecraft:book_open") || channel.equals("book_open")) {
wrapper.passthrough(Type.REMAINING_BYTES);
int hand = wrapper.read(Type.VAR_INT); int hand = wrapper.read(Type.VAR_INT);
wrapper.clearPacket(); wrapper.clearPacket();
wrapper.setId(0x2C); wrapper.setId(0x2C);