Universal Tweaks

Universal Tweaks

2M Downloads

codechicken lib "Packet Leak Fix" causing crash on powered Draconic Chest open

Krutoy242 opened this issue ยท 2 comments

commented

When config/Universal Tweaks - Mod Integration.cfg/codechicken lib/Packet Leak Fix is set to true, opening powered Draconic Chest causing crash:

Description: Ticking player

io.netty.util.IllegalReferenceCountException: refCnt: 0
    at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1454)
    at io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1383)
    at io.netty.buffer.UnpooledHeapByteBuf.copy(UnpooledHeapByteBuf.java:534)
    at io.netty.buffer.AbstractByteBuf.copy(AbstractByteBuf.java:1194)
    at codechicken.lib.packet.PacketCustom.copy(PacketCustom.java:773)
    at codechicken.lib.packet.PacketCustom.toPacket(PacketCustom.java:320)
    at codechicken.lib.packet.PacketCustom.sendToPlayer(PacketCustom.java:359)
    at com.brandon3055.brandonscore.lib.datamanager.TileDataManager.lambda$detectAndSendChangesToListeners$1(TileDataManager.java:90)
    at com.brandon3055.brandonscore.utils.DataUtils.forEachMatch(DataUtils.java:101)
    at com.brandon3055.brandonscore.lib.datamanager.TileDataManager.detectAndSendChangesToListeners(TileDataManager.java:90)
    at com.brandon3055.brandonscore.inventory.ContainerBCBase.detectAndSendChanges(ContainerBCBase.java:61)
    at net.minecraft.entity.player.EntityPlayerMP.TickCentral_TrueOnUpdateTick(EntityPlayerMP.java:324)

Disabling this config option fixed the issue.

crash-2024-08-24_11.10.55-server.txt

image

commented
commented

Bug should be fixed next version with d1118c5, as you said the config option can be disabled for now.