3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00
Dieser Commit ist enthalten in:
creeper123123321 2020-04-13 14:42:48 -03:00 committet von GitHub
Ursprung 99abe3994c
Commit a91c72fb44
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -291,7 +291,7 @@ public class WorldPackets {
wrapper.clearInputBuffer(); wrapper.clearInputBuffer();
// First set this packet ID to Block placement // First set this packet ID to Block placement
wrapper.setId(0x08); wrapper.setId(0x08);
wrapper.write(Type.POSITION, new Position((long) -1, (long) -1, (long) -1)); wrapper.write(Type.POSITION, new Position(-1, (short) -1, -1));
wrapper.write(Type.UNSIGNED_BYTE, (short) 255); wrapper.write(Type.UNSIGNED_BYTE, (short) 255);
// Write item in hand // Write item in hand
Item item = Protocol1_9To1_8.getHandItem(wrapper.user()); Item item = Protocol1_9To1_8.getHandItem(wrapper.user());