From 5dec6e7003064526632b00d2fb41baee9d82f5b3 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Thu, 12 Jun 2014 09:37:08 -0500 Subject: [PATCH] Cell Type Usage Fixed. --- items/storage/ItemBasicStorageCell.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/items/storage/ItemBasicStorageCell.java b/items/storage/ItemBasicStorageCell.java index 73d630d6..223a7b1c 100644 --- a/items/storage/ItemBasicStorageCell.java +++ b/items/storage/ItemBasicStorageCell.java @@ -34,6 +34,7 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II final MaterialType component; final int totalBytes; + final int perType; final double idleDrain; public ItemBasicStorageCell(MaterialType whichCell, int Kilobytes) { @@ -47,18 +48,23 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II { case Cell1kPart: idleDrain = 0.5; + perType = 8; break; case Cell4kPart: idleDrain = 1.0; + perType = 32; break; case Cell16kPart: idleDrain = 1.5; + perType = 128; break; case Cell64kPart: idleDrain = 2.0; + perType = 512; break; default: idleDrain = 0.0; + perType = 8; } }