EvilCraft

EvilCraft

19M Downloads

machines wasting condensed blood

Twisted-Code opened this issue ยท 0 comments

commented

possibly related: #296
this is happening on a 1.10.2 server running, among other core mods, SpongeForge
Forge log link:
server. Do you also need client?
Problem:
Condensed blood stacks placed into a machine will consume the whole stack unless it fills to exact capacity, even if that means repeatedly wasting condensed blood trying to fill the last (0 < x < 500 mB). Furthermore, when the stack gets to zero, it will not be deleted, instead remaining in the input slot as an empty stack until removed.

Expected behaviour:

Condensed blood should not be used/consumed unless there is room in the machine. Perhaps add a fluid buffer for input, but that could be abused if it's too big so...

Steps to reproduce the problem:

  • get any blood machine with capacity X and blood contained n such that 0 < (X - n) < 500.
  • try placing a condensed blood stack in it.
  • this will also happen if the stack is big enough to fill the tank such that the condition in the first line here is met without emptying the stack