AstikorCarts [Horse Carts]

AstikorCarts [Horse Carts]

20M Downloads

在 Minecraft 1.12.2 的 RLCraft v2.9.3 整合包中使用 AstikorCarts 模组时,多人联机环境下游戏崩溃

xihu129384 opened this issue · 0 comments

commented

在使用 AstikorCarts 模组时,多人联机游戏会出现崩溃问题。问题出现时,网络正常,一切运行平稳,但只要使用 AstikorCarts 模组中的物品或功能,游戏就会闪退。在服务器日志中,出现了 io.netty.util.IllegalReferenceCountException: refCnt: 0 的错误,异常堆栈信息如下:
[13:42:56] [Netty Server IO #5/ERROR]: NetworkDispatcher exception
io.netty.util.IllegalReferenceCountException: refCnt: 0
at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1408) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.buffer.UnpooledHeapByteBuf.array(UnpooledHeapByteBuf.java:154) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at net.minecraft.network.PacketBuffer.array(PacketBuffer.java:1264) ~[gy.class:?]
at net.minecraftforge.fml.common.network.internal.FMLProxyPacket.toS3FPackets(FMLProxyPacket.java:151) ~[FMLProxyPacket.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:537) ~[NetworkDispatcher.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
at net.minecraft.network.NetworkManager$4.run(NetworkManager.java:245) [gw$4.class:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:442) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.9.Final.jar:4.1.9.Final]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
[13:42:56] [Server thread/INFO]: Coco_Coles lost connection: Internal Exception: io.netty.util.IllegalReferenceCountException: refCnt: 0
[13:42:56] [Server thread/INFO]: Coco_Coles退出了游戏
[13:42:56] [Client thread/INFO]: [CHAT] Coco_Coles退出了游戏
此外,我在单人游戏中没有遇到任何问题,只有在多人联机游戏时才出现此情况。
版本信息:
我的 Minecraft 版本是 1.12.2,在 RLCraft v2.9.3 整合包中遇到此问题。
请问如何解决此问题?