Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fixed needs maintenance cover
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jul 1, 2024
1 parent c6dcade commit cdefcd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void onUpdate() {
long scale = rotor.getMaxDamage() / 15L;
long damage = rotor.getMaxDamage() - rotor.getDamageValue();
if (scale > 0){
setOutputRedstone(mode.inverted ? (int) (15L - damage / scale) : (int) (damage / scale));
setOutputRedstone(mode.inverted ? (int) (damage / scale) : (int) (15L - damage / scale));
} else {
setOutputRedstone(mode.inverted ? 15 : 0);
}
Expand Down

0 comments on commit cdefcd0

Please sign in to comment.