Treated Wood Ladder recipe now based on mod ingredients.

This commit is contained in:
stfwi 2020-11-15 13:37:35 +01:00
parent c7e4037989
commit d179a2c92a
3 changed files with 27 additions and 26 deletions

View file

@ -581,9 +581,9 @@ public class EdMilker
}
}
// Adjacent inventory update, only done just after milking to prevent waste of server cpu.
if((!dirty) && (fluid_level() >= BUCKET_SIZE)) {
if((!dirty) && (fluid_level() > 0)) {
log("Try item transfer");
if(fill_adjacent_tank() || fill_adjacent_inventory_item_containers(block_state.get(MilkerBlock.HORIZONTAL_FACING))) dirty = true;
if(fill_adjacent_tank() || ((fluid_level() >= BUCKET_SIZE) && fill_adjacent_inventory_item_containers(block_state.get(MilkerBlock.HORIZONTAL_FACING)))) dirty = true;
}
}
// State update