Compare commits

...
1 Commits
Author SHA1 Message Date
NotAPenguin 89eaa78e51 update gt and fix name (#55) 2024-09-03 11:50:50 +02:00
2 changed files with 4 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ dependencies {
api("com.github.GTNewHorizons:waila:1.7.3:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev")
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.46.18:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.55:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.11.1-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.9.0:api") {transitive = false }
@@ -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;
}
}
}