diff --git a/src/main/java/de/zonlykroks/advancedscripts/mixin/KeyboardMixin.java b/src/main/java/de/zonlykroks/advancedscripts/mixin/KeyboardMixin.java index e5dad7b..0121053 100644 --- a/src/main/java/de/zonlykroks/advancedscripts/mixin/KeyboardMixin.java +++ b/src/main/java/de/zonlykroks/advancedscripts/mixin/KeyboardMixin.java @@ -25,6 +25,7 @@ public class KeyboardMixin { PacketByteBuf byteBuf = new PacketByteBuf(Unpooled.buffer()); byteBuf.writeInt(key); byteBuf.writeByte(action); + byteBuf.writeInt(modifiers); CustomPayloadC2SPacket customPayloadC2SPacket = new CustomPayloadC2SPacket(channel,byteBuf); client.getNetworkHandler().sendPacket(customPayloadC2SPacket); }