Powah! (Rearchitected)

Powah! (Rearchitected)

3M Downloads

RuntimeException: Cable added to position

bigenergy opened this issue ยท 4 comments

commented

Version: (make sure you are on the latest version before reporting):

  • Minecraft: 1.19.2
  • Forge: 1.19.2-43.2.6
  • Powah: 4.0.8 & 4.0.10

Issue description:

server crash

Steps to reproduce:

no info

Is this a crash?, please includ it here: (Recommended to use Gist)

https://gist.github.com/bigenergy/caaebd27a46d8022de04c40e487a0fa8

commented

I think this issue should be re-opened. Powah! shouldn't be causing hard-crashes in the chunk serialization process without a very good reason, as it messes up too many other mods.

commented

I'd rather have the other mods fix their code. So I'll consider this a feature.

commented

I'm observing this issue too, on a server with a custom modpack
In my case it only occurs when shutting down the server, while it tries to save the chunks.

Minecraft 1.19.2, Forge 43.2.8, Powah 4.0.10
I was previously on Powah 4.0.7 and no issue occurred with that version

After many tests I observed that the issue only occurs if a network of Logic Cables from Integrated Dynamics is present in the same chunk as a network of Powah Energy Cables.
When both are present in the same chunk, the server log gets spammed on attempting to /stop with
java.lang.RuntimeException: Cable added to position BlockPos{x=XXX, y=YYY, z=ZZZ}, but there was already one there?
where XXX YYY ZZZ are the coordinates of a seemingly random Powah Energy Cable in the chunk.

Relevant extract from server service logs:
https://gist.github.com/FyreDraygg/68afef4db93dd5a2aae7d81f981dc7ad
Note how both Integrated Dynamics and Powah appear in the stack traces

To me it looks like both mods are trying to handle their cable networks and get mixed up, but I don't know enough on a code level to try and debug it myself

commented

Please see my comment on the linked issue. This is a problem with ID in my opinion.