LogisticsPipes icon indicating copy to clipboard operation
LogisticsPipes copied to clipboard

Poly/ItemSink does not sink nbt items correctly into Jabba Barrels/Caches

Open Nirek-K opened this issue 8 years ago • 6 comments

Attempting to sink nbt items (Forestry saplings, probably others) to a jabba barrel (also tried TE Caches) results in it thinking the inventory is full (switching to a basic pipe has the saplings go to the barrel and bounce) Providing and requesting does work. It works as expected on both regular chests and storage Drawers.

Nirek-K avatar May 14 '16 07:05 Nirek-K

It has same issues with bees and Filling Cabinets.

hron84 avatar May 14 '16 21:05 hron84

Long know issue, still not sure what causes it.

SonOfTheStars avatar May 15 '16 10:05 SonOfTheStars

Did a bit of testing, and removing these 2 checks: https://github.com/RS485/LogisticsPipes/blob/dev/common/logisticspipes/proxy/specialinventoryhandler/JABBAInventoryHandler.java#L124-L126 and https://github.com/RS485/LogisticsPipes/blob/dev/common/logisticspipes/proxy/specialinventoryhandler/JABBAInventoryHandler.java#L145-L147 allow sinking to jabba barrels to work properly. I don't know if this the correct fix as I don't know if it's needed for some other reason, but these snippets are the reason it does not work. E: DSU handler also has this same check.

Nirek-K avatar May 16 '16 04:05 Nirek-K

The reason for those checks was: https://github.com/RS485/LogisticsPipes/blob/00a86254547bc71ead627a12c98d044ee455cde7/dummy/powercrystals/minefactoryreloaded/api/IDeepStorageUnit.java#L20 . At some point that changed but the check wasn't removed. Thanks for finding that.

davboecki avatar May 16 '16 07:05 davboecki

At JABBA proxy, you do nothing with doAdd. Is it intended? We add itemstacks to the barrel even if it is not really needed? Smells like an exploit.

hron84 avatar May 16 '16 08:05 hron84

I seem to have the same issue with GT6 barrels with saplings and apples.

Jean0 avatar Jan 14 '17 18:01 Jean0