Occultism

Occultism

19M Downloads

Issue connecting integrated dynamics item interface to stable wormhole

lolarious9 opened this issue ยท 5 comments

commented

Describe the bug
I found a bug between the stable wormhole and integrated dynamic's item interface. If you connect an item interface to a stable wormhole, it will remove the linked storage from the NBT and reset the item back to default.

To Reproduce
Steps to reproduce the behavior:

  1. Place block 'stable wormhole' (linked to storage actuator)
  2. Place item interface cable facing wormhole
  3. See wormhole lose all data and disconnect from storage actuator

Expected behavior
I expected it to use the storage for import and export between the ID network and the dimensional storage.

Screenshots

Before connecting item interface:
2021-08-20_10 22 06

After connecting item interface:
2021-08-20_10 22 33

System (please complete the following information):

Additional context
I'm not sure if it's an issue on occultism's end or integrated's end. The item interface will work on the main storage actuator, just not on the wormholes.

commented

Thanks for testing - I suspect this is actually something Integrated dynamics does (at least a brief check of my code does not indicate anything obvious that would cause the wormhole to lose nbt), but I'll have to set up a dev environment with ID to figure this out.

commented

@lolarious9 best I can tell this is an ID issue. E.g:

  1. Place linked wormhole
  2. Attach interface -> wormhole loses nbt
  3. Remove, link and re-place wormhole -> wormhole has nbt
  4. Add cable to the network the interface is connected to -> wormhole loses nbt

It looks like ID is replacing the block or otherwise modifying it, when it updates its network.

Could you create an issue over there and link to this? I am happy to add any compat code that may be necessary, but as far as I can see the issue is not caused by occultism (as blocks not even connected to the wormhole still cause it)

commented

Sure, will do. Thanks for looking into it on your end. I referenced the issue here so it should be linked if I did it right

commented

@lolarious9 Out of interest, can you try to place the wormhole against a wall, and the integrated interface from the front?
It will look like there's half a block of air, but that should not hurt.

commented

Just tried, does the same thing. Here's a photo though, the gap became larger I assume due to the bounding box of the worm hole. Placing on the side of the wormhole also recreates issue
2021-08-20_10 53 07