Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit 4640674

Browse files
committed
Fix invalid injection point in MixinNettyPacketEncoder
1 parent 3b1d833 commit 4640674

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/clientapi/load/mixin/MixinNettyPacketEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class MixinNettyPacketEncoder {
3838

3939
private PacketEvent event;
4040

41-
@ModifyArg(method = "encode", at = @At(value = "INVOKE_ASSIGN", target = "Lio/netty/util/Attribute;get()Ljava/lang/Object;", remap = false))
41+
@ModifyArg(method = "encode", at = @At(value = "INVOKE", target = "Lio/netty/util/Attribute;get()Ljava/lang/Object;", remap = false))
4242
private Packet<?> mutatePacket(ChannelHandlerContext ctx, Packet<?> msg, ByteBuf out, CallbackInfo ci, EnumConnectionState state) {
4343
event = new PacketEvent.Encode(msg, state);
4444
ClientAPI.EVENT_BUS.post(event);

0 commit comments

Comments
 (0)