Skip to content

Commit

Permalink
Removed Thermal Foundation's Redstone from Tech Reborn's config. Rela…
Browse files Browse the repository at this point in the history
…ted #9
  • Loading branch information
kyeiti committed May 22, 2018
1 parent a2f07c3 commit 4e1ca9d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.1.1"
version = "1.1.2"
group = "exterminatorjeff.undergroundbiomes" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "UndergroundBiomesConstructs-1.12"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class ModInfo {

public static final String MODID = "undergroundbiomes";
public static final String NAME = "Underground Biomes";
public static final String VERSION = "1.1.1";
public static final String VERSION = "1.1.2";

private ModInfo() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ private ArrayList<ModOre> getTechRebornOres() {
ores.add(new ModOre(oreName, 4, ModInfo.MODID + ":blocks/overlays/techreborn/bauxite"));
ores.add(new ModOre(oreName, 12, ModInfo.MODID + ":blocks/overlays/techreborn/lead"));
ores.add(new ModOre(oreName, 13, ModInfo.MODID + ":blocks/overlays/techreborn/silver"));
ores.add(new ModOre("thermalfoundation:ore_fluid", 2, ModInfo.MODID + ":blocks/overlays/thermalfoundation/destabilized_redstone"));
return ores;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.FurnaceRecipes;
import net.minecraft.item.crafting.IRecipe;
Expand Down Expand Up @@ -103,7 +104,7 @@ public IBlockState getUBifiedOre(UBStone baseStone, int baseStoneMeta, IBlockSta
*/
private void applyBaseOreSmelting(Block baseOre, int meta, OreEntry... ores) {
ItemStack result = FurnaceRecipes.instance().getSmeltingResult(new ItemStack(baseOre, 1, meta));
if (result != null) {
if (result != null && result.getItem() != (new ItemStack(Blocks.AIR)).getItem()) {
for (OreEntry ore : ores)
for (int i = 0; i < ore.ore().getNbVariants(); ++i)
GameRegistry.addSmelting(new ItemStack(ore.getBlock(), 1, i), result, FurnaceRecipes.instance().getSmeltingExperience(result));
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"modid": "undergroundbiomes",
"name": "Underground Biomes",
"description": "24 different kinds of stones with slabs, stairs, walls, and buttons",
"version": "1.1.1",
"version": "1.1.2",
"mcversion": "1.12.2",
"url": "",
"updateUrl": "",
Expand Down

0 comments on commit 4e1ca9d

Please sign in to comment.