We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb1769 commit 54bc848Copy full SHA for 54bc848
src/main/java/com/gregtechceu/gtceu/utils/GTUtil.java
@@ -223,7 +223,7 @@ public static byte getFloorTierByVoltage(long voltage) {
223
return GTValues.MAX_TRUE;
224
}
225
226
- return (byte) ((60 - Long.numberOfLeadingZeros(voltage - 1)) >> 1);
+ return (byte) ((60 - Long.numberOfLeadingZeros(voltage)) >> 1);
227
228
229
public static ItemStack copy(ItemStack... stacks) {
0 commit comments