BuildCraft|Core

BuildCraft|Core

7M Downloads

Transactor improvement

Speiger opened this issue ยท 1 comments

commented

https://github.com/BuildCraft/BuildCraft/blob/7.1.x/common/buildcraft/core/lib/inventory/TransactorSimple.java#L48

You need to mark a inventory only dirty when you changed something.
I assume a if(injected > 0 && doAdd) would help. With that you do not need to mark it dirty twice a tick when you check first what you get and then inject it^^"

commented

Reopen please: Same counts for the Extraction part...
Also little improvement to the Extraction part: Add a int in the constructor so that you can multible items if requested...