From 64a144a15d1f04f29f7ff10ff8fe44aed859cf19 Mon Sep 17 00:00:00 2001 From: 90 Date: Wed, 21 Feb 2024 09:06:47 +0000 Subject: [PATCH] Fix wildly incorrect power consumption for cells --- .../main/java/gripe/_90/megacells/definition/MEGAItems.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/main/java/gripe/_90/megacells/definition/MEGAItems.java b/common/src/main/java/gripe/_90/megacells/definition/MEGAItems.java index ab12119a..731f66f6 100644 --- a/common/src/main/java/gripe/_90/megacells/definition/MEGAItems.java +++ b/common/src/main/java/gripe/_90/megacells/definition/MEGAItems.java @@ -154,8 +154,7 @@ public static List> getFluidPorta private static StorageTier tier(int index, ItemDefinition component) { int multiplier = (int) Math.pow(4, index - 1); - return new StorageTier( - index, (multiplier / 1024) + "m", 1024 * multiplier, 0.5 * multiplier, component::asItem); + return new StorageTier(index, (multiplier / 1024) + "m", 1024 * multiplier, 0.5 * index, component::asItem); } private static ItemDefinition component(int mb) {