MehVahdJukaar / Supplementaries

Other
125 stars 90 forks source link

Fluid Duplication w/ the Faucet #964

Closed sharkweekthings closed 4 months ago

sharkweekthings commented 4 months ago

Before Continuing:

Version

1.19.2-FORGE

Supplementaries Version

supplementaries-1.19.2-2.4.20

Moonlight Lib Version

moonlight-1.19.2-2.3.6-forge

Issue Detail

In the pack I have made, the interaction with a Supplementaries Faucet, and Pneumatic Craft Thermopneumatic Processing Plant allows for duplication of any fluid inside the Processing Plant, if a Faucet is attached to it.

More details can be seen here from my original report: https://github.com/TeamPneumatic/pnc-repressurized/issues/1290

The dev of PNC suggests:

"This is absolutely a problem with the Faucet, which is misusing the forge IFluidHandler API. The faucet is extracting an arbitrary tank from the fluid handler it gets and extracting from that. The arbitrary tank is picks is tank 0, the input tank.

The correct way to do this is to call drain() directly on the fluid handler itself, not mess about with the tank internals."

MehVahdJukaar commented 4 months ago

try on new version

MehVahdJukaar commented 4 months ago

on my bad this was 1.19

sharkweekthings commented 4 months ago

on my bad this was 1.19

If you get a new version for 1.19.2 I'll definitely give it a test.

MehVahdJukaar commented 4 months ago

there is one

sharkweekthings commented 4 months ago

Thanks seems to be working as well!