Skip to content

Commit

Permalink
remove unused statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilzinsel64 committed Feb 26, 2024
1 parent 413518b commit 5acdda4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/ganymedes01/etfuturum/recipes/ModRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -1152,8 +1152,6 @@ public static void registerModdedRawOres() {
//Well it's probably *technically* possible but I don't want to do it, PR an OD remover if you need EFR to do it.
//For now just restart your game to clear entries that would no longer get a tag.
for (int j = 0; j < 1; j++) { //If it's mythril, we'll run this once more, changing the spelling to mithril to account for both tags.
boolean one = !OreDictionary.getOres(type).isEmpty();
boolean two = !OreDictionary.getOres(type.replace("ingot", "ore")).isEmpty();
if (!OreDictionary.getOres(type).isEmpty() && !OreDictionary.getOres(type.replace("ingot", "ore")).isEmpty()) { //Make sure an ingot AND ore is present
registerOre(type.replace("ingot", "raw"), ModItems.MODDED_RAW_ORE.newItemStack(1, i));
registerOre(type.replace("ingot", "blockRaw"), ModBlocks.MODDED_RAW_ORE_BLOCK.newItemStack(1, i));
Expand Down

0 comments on commit 5acdda4

Please sign in to comment.