Skip to content

Commit

Permalink
Fix wildly incorrect power consumption for cells
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Feb 21, 2024
1 parent 2da205c commit 64a144a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ public static List<ItemDefinition<? extends AbstractPortableCell>> getFluidPorta

private static StorageTier tier(int index, ItemDefinition<StorageComponentItem> 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<StorageComponentItem> component(int mb) {
Expand Down

0 comments on commit 64a144a

Please sign in to comment.