Enigmatica 2: Expert - E2E

Enigmatica 2: Expert - E2E

2M Downloads

Cyclic Inventory Upgrade disappears when leaving the End through the Dragon portal

OriginalDahc opened this issue ยท 4 comments

commented

Issue Description
When leaving the End through the portal generated after killing the End Dragon, the Inventory Upgrade obtained by eating the Inventory Upgrade cake locks again, requiring another cake to unlock. Logs below show something happening during the dimension change.

Modpack version (Do not use "latest")
Version 1.54

Logs
[21:24:35] [Server thread/INFO] [journeymap]: Odahc joining dimension 0
[21:24:35] [Server thread/ERROR] [FML]: FMLIndexedMessageCodec exception caught
io.netty.handler.codec.EncoderException: java.lang.RuntimeException: Undefined discriminator for message type journeymap.common.network.DimensionPermissionPacket in channel jm_dim_permission
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:106) ~[minecraft_server.1.12.2.jar:?]
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[minecraft_server.1.12.2.jar:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:250) [SimpleNetworkWrapper.class:?]
at journeymap.common.network.PacketHandler.sendDimensionPacketToPlayer(PacketHandler.java:57) [PacketHandler.class:1.12.2-5.5.3]
at journeymap.server.events.ForgeEvents.on(ForgeEvents.java:73) [ForgeEvents.class:1.12.2-5.5.3]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2117_ForgeEvents_on_EntityJoinWorldEvent.invoke(.dynamic) [?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraft.world.World.func_72838_d(World.java:1206) [amu.class:?]
at net.minecraft.world.WorldServer.func_72838_d(WorldServer.java:1058) [oo.class:?]
at net.minecraft.server.management.PlayerList.func_72368_a(PlayerList.java:585) [pl.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147342_a(NetHandlerPlayServer.java:1109) [pa.class:?]
at net.minecraft.network.play.client.CPacketClientStatus.func_148833_a(SourceFile:31) [lb.class:?]
at net.minecraft.network.play.client.CPacketClientStatus.func_148833_a(SourceFile:8) [lb.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_201]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_201]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
Caused by: java.lang.RuntimeException: Undefined discriminator for message type journeymap.common.network.DimensionPermissionPacket in channel jm_dim_permission
at net.minecraftforge.fml.common.network.FMLIndexedMessageToMessageCodec.encode(FMLIndexedMessageToMessageCodec.java:76) ~[FMLIndexedMessageToMessageCodec.class:?]
at io.netty.handler.codec.MessageToMessageCodec$1.encode(MessageToMessageCodec.java:67) ~[minecraft_server.1.12.2.jar:?]
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:88) ~[minecraft_server.1.12.2.jar:?]
... 29 more
[21:24:50] [Server thread/INFO] [THAUMCRAFT]: Removing aura cache for world 1
[21:24:50] [Server thread/INFO] [FML]: Unloading dimension 1

Screenshots
N/A

Additional context
I also noticed my hearts dropped to a single full bar. Might be related, but also suggests the underlying engine just does this.

commented

Please don't put the log in the issue, link to a pattern of it like the template says.

This bug happens because the game marks you as dead when travelling from the End to any other dimension. It has been a known issue for a few years now, and I am unfortunately unable to fix it.

commented

I tracked it down to the cyclic config... After about 2 hours.... I removed every mod by cutting it in 1/2 over and over, even with NO other mods, it still does it.

Then I deleted the cylic config..... had a generate a new one.

Works fine.

Going to side by side the configs... Till I find it.

commented

It's a Cylic mod bug, reported over there...Lothrazar/Cyclic#1069

commented

Yeah, left all mods in, just regenerated config, and works fine... Just need to re-disable what you disabled, and see if it was just some syntax error hidden in here since the files are re-organized a lot.