aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java')
-rw-r--r--src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java b/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
index 7ceaf43f2e..9ef5266329 100644
--- a/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
+++ b/src/main/java/gregtech/api/items/GT_RadioactiveCell_Item.java
@@ -37,6 +37,10 @@ public class GT_RadioactiveCell_Item
return b;
}
+ protected static int triangularNumber(int x)
+ {
+ return (x * x + x) / 2;
+ }
protected boolean outputPulseForStack(ItemStack aStack) {
NBTTagCompound tNBT = aStack.getTagCompound();
if (tNBT == null) {