Skip to content

Commit b13d880

Browse files
committed
fix(distiller): 26.1.2 incompatibility
1 parent 53d7912 commit b13d880

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/dre/brewery/BDistiller.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,13 @@ public void run() {
216216
brewTime--; // count down.
217217
if (brewTime > 1) {
218218
stand.setBrewingTime((int) ((float) brewTime / ((float) runTime / (float) DISTILLTIME)) + 1);
219+
stand.update();
219220
return;
220221
}
221222

222223
contents = getDistillContents(stand.getInventory()); // Get the contents again at the end just in case
223224
stand.setBrewingTime(0);
225+
stand.update();
224226
if (!runDistill(stand.getInventory(), contents)) {
225227
this.cancel();
226228
trackedDistillers.remove(standBlock);

0 commit comments

Comments
 (0)