update gt and fix name (#55)

This commit is contained in:
NotAPenguin authored and GitHub committed 2024-09-03 11:50:50 +02:00
1 parent a7d6f8e59b
commit 89eaa78e51
2 files changed
+4 -4

No files matched your search

@@ -16,7 +16,7 @@ import net.minecraftforge.oredict.OreDictionary;
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import cpw.mods.fml.common.Optional;
import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.common.blocks.GT_TileEntity_Ores;
import gregtech.common.blocks.TileEntityOres;
public class MeteorParadigm {
@@ -220,8 +220,8 @@ public class MeteorParadigm {
@Optional.Method(modid = "gregtech")
private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) {
final TileEntity tileEntity = world.getTileEntity(x, y, z);
if (tileEntity instanceof GT_TileEntity_Ores) {
((GT_TileEntity_Ores) tileEntity).mNatural = true;
if (tileEntity instanceof TileEntityOres) {
((TileEntityOres) tileEntity).mNatural = true;
}
}
}