Skip to content

Commit 569c322

Browse files
committed
Add back old FabricDecodeHandler#getInfo
Apparently some mods use this in order to get the user connection Signed-off-by: FlorianMichael <git@florianmichael.de>
1 parent 02673c5 commit 569c322

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/viaversion/fabric/common/handler/FabricDecodeHandler.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,9 @@ public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exc
4545
super.userEventTriggered(ctx, evt);
4646
}
4747

48+
@Deprecated
49+
public UserConnection getInfo() {
50+
return connection();
51+
}
52+
4853
}

0 commit comments

Comments
 (0)