heat/cool prediction: fixed embarassing off-by-1 bug! removed the "margin of error" config convering up this bug.

This commit is contained in:
Louis Hong
2024-10-29 00:47:36 -07:00
parent 475cb1c1f0
commit 1e41e5733d
6 changed files with 79 additions and 65 deletions

View File

@@ -338,7 +338,7 @@ public class EasyGiantsFoundryPlugin extends Plugin
{
Widget title = Objects.requireNonNull(mouldParent.getChild(1));
// not sure why, the ":" character turns into ": ," when rendered; obmitting it.
// not sure why, the ":" character turns into ": ," when rendered; omitting it.
title.setText("Giants' Foundry Mould Setup <col=FFFFFF>(Score " + mouldScore + ")");
}
}
@@ -369,8 +369,8 @@ public class EasyGiantsFoundryPlugin extends Plugin
state.heatingCoolingState.onTick();
}
previousHeat = event.getValue();
}
previousHeat = event.getValue();
}
@Subscribe