Carry On

Carry On

108M Downloads

Picking up Integrated Dynamics logic cables crashes the server/client

Jack-McKalling opened this issue ยท 0 comments

commented

Expected Behavior

When you attempt to shift-right click on a logic cable, it should assume that it cannot be picked up.

Actual Behavior

It attempts to pick up the cable block, with all parts attached. Effectively this works, but immediately upon success the server would crash. It happens when a variable card is in a cable part that is referenced elsewhere on its network, and cannot be found on its location anymore (since you picked it up). The mod just never intended for cables to be moved, other than mined or wrenched,

Steps to Reproduce

  • Place a logic cable (integrateddynamics:cable)
  • Attach a display panel on one side
  • Place a variable store on the other side
  • Program a variable card to an integer using the logic programmer
  • Program another variable card with the Name operator to turn the integer into a string
  • Put the integer card into the display panel, and the other card in the variable store
  • Attempt to shift-right click the display panel (or cable it is on)

Version of Minecraft, Carry On, Forge

Minecraft: 1.16.5
Carry On: 1.15.5.15
Forge: 36.2.2
Integrated Dynamics: 1.9.2
CyclopsCore: 1.11.8
CommonCapabilities: 2.7.0

Screenshots encouraged

pick up logic cable

Suggested fix

Add integrateddynamics:cable to the blacklist by default (not all blocks from that mod). Some blocks could be preferrable to pick up, but mostly just cables that could have game breaking stuff in them if moved.