Lothrazar / Storage-Network

Other
43 stars 48 forks source link

Network Collection Interface connected with Link Cable causes a crash #459

Open 7isenko opened 2 years ago

7isenko commented 2 years ago

CurseForge Sky Bees 1.3.2

Minecraft Version: 1.16.5 Forge Version: 36.2.35 Mod Version: 1.5.2 Single Player or Server: Single

Describe problem (what you were doing; what happened; what should have happened): I have a Network Collection Interface connected to the storage network with a Link Cable (not a Network Cable). Putting an item inside the net via Storage Inventory may cause a crash.

Log file link: crash-2022-09-07_14.29.20-server.txt

7isenko commented 2 years ago

I think, it is caused by Network Collection Interface inventory. Network knows about the inventory and wants to put items there because it is connected with Link Cable, but this block works only for import. https://github.com/Lothrazar/Storage-Network/blob/f3432d83e0e37468888b816d3586bde3114a0800/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableLink.java#L92-L94 This method is set to abort that, but something above looping it.

Shybella commented 1 year ago

Also encountering this