davenonymous / OCXNetDriver

OpenComputers + XNet = ❤️
https://minecraft.curseforge.com/projects/oc-xnet-driver
4 stars 5 forks source link

Transfer fluid deletes excess amounts #6

Closed cjm721 closed 5 years ago

cjm721 commented 5 years ago

In transferFluid you check that the target tank can receive some fluid but when you do the extraction from the original tank you do not deduct the overflow amount of the previous fill.

Found while looking into https://github.com/CJ-MC-Mods/Overloaded/issues/50

https://github.com/thraaawn/OCXNetDriver/blob/95556d215becae55ccadf9dfaf77cf90d433e884/src/main/java/org/dave/ocxnetdriver/driver/controller/EnvironmentXnetController.java#L184