Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
Dieser Commit ist enthalten in:
Commit
c552b12696
@ -294,7 +294,7 @@ public class SpawnPackets {
|
|||||||
if (item != 0) {
|
if (item != 0) {
|
||||||
PacketWrapper packet = new PacketWrapper(0x3C, null, wrapper.user());
|
PacketWrapper packet = new PacketWrapper(0x3C, null, wrapper.user());
|
||||||
packet.write(Type.VAR_INT, wrapper.get(Type.VAR_INT, 0));
|
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));
|
packet.write(Type.ITEM, new Item(item, (byte) 1, (short) 0, null));
|
||||||
try {
|
try {
|
||||||
packet.send();
|
packet.send();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren