send modifiers
Dieser Commit ist enthalten in:
Ursprung
753b587ab6
Commit
64cd1cd887
@ -25,6 +25,7 @@ public class KeyboardMixin {
|
|||||||
PacketByteBuf byteBuf = new PacketByteBuf(Unpooled.buffer());
|
PacketByteBuf byteBuf = new PacketByteBuf(Unpooled.buffer());
|
||||||
byteBuf.writeInt(key);
|
byteBuf.writeInt(key);
|
||||||
byteBuf.writeByte(action);
|
byteBuf.writeByte(action);
|
||||||
|
byteBuf.writeInt(modifiers);
|
||||||
CustomPayloadC2SPacket customPayloadC2SPacket = new CustomPayloadC2SPacket(channel,byteBuf);
|
CustomPayloadC2SPacket customPayloadC2SPacket = new CustomPayloadC2SPacket(channel,byteBuf);
|
||||||
client.getNetworkHandler().sendPacket(customPayloadC2SPacket);
|
client.getNetworkHandler().sendPacket(customPayloadC2SPacket);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren