aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tileentities
diff options
context:
space:
mode:
authorMuramasa <haydenkilloh@gmail.com>2016-08-19 12:15:05 +0100
committerMuramasa <haydenkilloh@gmail.com>2016-08-19 12:15:05 +0100
commit46daf120bb00b03a4889863466a74b00e15468d8 (patch)
tree4aac9c0b818a36d932b2442cd45af6f546c8cce2 /src/main/java/gregtech/common/tileentities
parenteaadf6f74bbcc37886eb7803b1b6949c6646923d (diff)
downloadGT5-Unofficial-46daf120bb00b03a4889863466a74b00e15468d8.tar.gz
GT5-Unofficial-46daf120bb00b03a4889863466a74b00e15468d8.tar.bz2
GT5-Unofficial-46daf120bb00b03a4889863466a74b00e15468d8.zip
initMaterialProperties
Diffstat (limited to 'src/main/java/gregtech/common/tileentities')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java b/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java
index 6f3818b47e..13c25ef992 100644
--- a/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java
+++ b/src/main/java/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_Replicator.java
@@ -84,7 +84,7 @@ public class GT_MetaTileEntity_Replicator
public int getCapacity() {
if ((sHeaviestElementMass == 0) && (GregTech_API.sPostloadFinished)) {
Materials tMaterial;
- for (Iterator i$ = Materials.VALUES.iterator(); i$.hasNext(); sHeaviestElementMass = Math.max(sHeaviestElementMass, (int) tMaterial.getMass())) {
+ for (Iterator i$ = Materials.MATERIALS.values().iterator(); i$.hasNext(); sHeaviestElementMass = Math.max(sHeaviestElementMass, (int) tMaterial.getMass())) {
tMaterial = (Materials) i$.next();
if ((tMaterial.mElement == null) || (tMaterial.mElement.mIsIsotope)) {
}