Integrated Dynamics

Integrated Dynamics

88M Downloads

Offset Card Duplication

its-mitchz opened this issue ยท 2 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Duplication of offset cards.

Steps to reproduce the problem:

  1. Place pipe and item interface in on direction
  2. Right click offset card onto interface
  3. Break pipe, get offset card back
  4. Place pipe and repeat

Expected behaviour:

The card should drop only when interface is broken not pipe.


Versions:

  • This mod:

Image

  • Minecraft: Oceanblock 2 1.3.1 1.21.1
  • Mod loader version: Neoforge 21.1.122
commented

Thanks for reporting!

commented

I can reproduce this issue in a clean neoforge 1.21.1 test environment with the current latest version of just the relevant mods installed.

  • Core: 1.25.7
  • CC: 2.9.7-197
  • Dynamics: 1.25.6
  • Tunnels: 1.8.35
  • NeoForge: 21.1.125

I suspect it might be re-using existing code for dropping variable cards when the cable breaks, since a part cannot open its GUI or hold any card while it isn't attached to a cable. And an offset card behaves the same way. However it maybe isn't updating the data on the part that keeps track of whether it has any offset applied, when breaking the cable.