Better Distiller Brew checking

This commit is contained in:
Sn0wStorm 2020-11-11 13:47:57 +01:00
parent 491da014b8
commit 5b8ab83734
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class BCauldron {
private BIngredients ingredients = new BIngredients();
private final Block block;
private int state = 0;
private boolean changed = false;
private boolean changed = false; // Not really needed anymore
private Optional<BCauldronRecipe> particleRecipe; // null if we haven't checked, empty if there is none
private Color particleColor;
private Location particleLocation;

View File

@ -185,7 +185,7 @@ public class BDistiller {
stand.setBrewingTime((int) ((float) brewTime / ((float) runTime / (float) DISTILLTIME)) + 1);
if (brewTime <= 1) { // Done!
checkContents(stand.getInventory(), contents);
contents = getDistillContents(stand.getInventory());
stand.setBrewingTime(0);
stand.update();
if (!runDistill(stand.getInventory(), contents)) {