Skip to content

Commit

Permalink
Fix IllegalAccessException
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 30, 2024
1 parent a8f7baa commit bf96acf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public abstract class MixinServerConnectionListener_1 extends ChannelInitializer
private void storeClass(ServerConnectionListener this$0, CallbackInfo ci) throws NoSuchMethodException {
if (WorldHost.channelInitializerConstructor == null) {
WorldHost.channelInitializerConstructor = getClass().getDeclaredConstructor(ServerConnectionListener.class);
WorldHost.channelInitializerConstructor.setAccessible(true);
}
}
}

0 comments on commit bf96acf

Please sign in to comment.