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

Commit 3b1d833

Browse files
committed
Fix invalid injection point in MixinNettyPacketDecoder
1 parent 018a6ab commit 3b1d833

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class MixinNettyPacketDecoder {
4141

4242
private PacketEvent.Decode event;
4343

44-
@Redirect(method = "decode", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/network/EnumConnectionState;getPacket(Lnet/minecraft/network/EnumPacketDirection;I)Lnet/minecraft/network/Packet;"))
44+
@Redirect(method = "decode", at = @At(value = "INVOKE", target = "Lnet/minecraft/network/EnumConnectionState;getPacket(Lnet/minecraft/network/EnumPacketDirection;I)Lnet/minecraft/network/Packet;"))
4545
private Packet<?> mutatePacket(EnumConnectionState state, EnumPacketDirection direction, int id) throws IllegalAccessException, InstantiationException {
4646
event = new PacketEvent.Decode(state.getPacket(direction, id), state);
4747
ClientAPI.EVENT_BUS.post(event);

0 commit comments

Comments
 (0)