diff options
Diffstat (limited to 'src/Java/gtPlusPlus/core/material')
| -rw-r--r-- | src/Java/gtPlusPlus/core/material/MaterialGenerator.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/Java/gtPlusPlus/core/material/MaterialGenerator.java b/src/Java/gtPlusPlus/core/material/MaterialGenerator.java index 8d8f8bc846..9c7f5208ba 100644 --- a/src/Java/gtPlusPlus/core/material/MaterialGenerator.java +++ b/src/Java/gtPlusPlus/core/material/MaterialGenerator.java @@ -25,22 +25,10 @@ import gtPlusPlus.xmod.gregtech.loaders.RecipeGen_ShapedCrafting; import net.minecraft.block.Block; import net.minecraft.item.Item; -public class MaterialGenerator implements Runnable { - - final Material toGenerate; - - public MaterialGenerator(final Material M){ - this.toGenerate = M; - } - - @Override - public void run() { - generateItemsFromMaterial(toGenerate); - } - +public class MaterialGenerator { @SuppressWarnings("unused") - public static void generateItemsFromMaterial(final Material matInfo){ + public static void generate(final Material matInfo){ String unlocalizedName = matInfo.getUnlocalizedName(); String materialName = matInfo.getLocalizedName(); short[] C = matInfo.getRGBA(); |
