Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
use short
Dieser Commit ist enthalten in:
Ursprung
a0e3d70a3f
Commit
99abe3994c
@ -292,7 +292,7 @@ public class WorldPackets {
|
|||||||
// 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((long) -1, (long) -1, (long) -1));
|
||||||
wrapper.write(Type.UNSIGNED_BYTE, (byte) 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());
|
||||||
// Blocking patch
|
// Blocking patch
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren