3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 22:02:50 +02:00

Change item from main hand, not offhand. Fixes #329 (#363)

Dieser Commit ist enthalten in:
Mats 2016-04-19 17:32:03 +02:00 committet von Myles
Ursprung a496b2d3a8
Commit 8852e3b3a3

Datei anzeigen

@ -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();