aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java')
-rw-r--r--src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java b/src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java
index 58ae605d8c..f00e110020 100644
--- a/src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java
+++ b/src/main/java/gtneioreplugin/util/GT5OreSmallHelper.java
@@ -56,11 +56,11 @@ public class GT5OreSmallHelper {
}
for (GTWorldgen worldGen : GregTechAPI.sWorldgenList) {
- if (!worldGen.mWorldGenName.startsWith("ore.small.") || !(worldGen instanceof WorldgenGTOreSmallPieces)) {
+ if (!worldGen.mWorldGenName.startsWith("ore.small.")
+ || !(worldGen instanceof WorldgenGTOreSmallPieces worldGenSmallPieces)) {
continue;
}
- WorldgenGTOreSmallPieces worldGenSmallPieces = (WorldgenGTOreSmallPieces) worldGen;
meta = worldGenSmallPieces.mMeta;
if (meta < 0) break;
material = GregTechAPI.sGeneratedMaterials[meta];