diff --git a/common/src/main/java/muramasa/gregtech/cover/redstone/CoverNeedsMaintenance.java b/common/src/main/java/muramasa/gregtech/cover/redstone/CoverNeedsMaintenance.java index 00d355cfb..f5823c905 100644 --- a/common/src/main/java/muramasa/gregtech/cover/redstone/CoverNeedsMaintenance.java +++ b/common/src/main/java/muramasa/gregtech/cover/redstone/CoverNeedsMaintenance.java @@ -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); }