mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-30 20:37:50 +01:00
parent
a496b2d3a8
commit
8852e3b3a3
@ -294,7 +294,7 @@ public class SpawnPackets {
|
||||
if (item != 0) {
|
||||
PacketWrapper packet = new PacketWrapper(0x3C, null, wrapper.user());
|
||||
packet.write(Type.VAR_INT, wrapper.get(Type.VAR_INT, 0));
|
||||
packet.write(Type.VAR_INT, 1);
|
||||
packet.write(Type.VAR_INT, 0);
|
||||
packet.write(Type.ITEM, new Item(item, (byte) 1, (short) 0, null));
|
||||
try {
|
||||
packet.send();
|
||||
|
Loading…
Reference in New Issue
Block a user