diff --git a/src/main/java/techreborn/items/ItemCrushedOre.java b/src/main/java/techreborn/items/ItemCrushedOre.java index 77dab3c19..ba6a1e8ba 100644 --- a/src/main/java/techreborn/items/ItemCrushedOre.java +++ b/src/main/java/techreborn/items/ItemCrushedOre.java @@ -15,7 +15,7 @@ public class ItemCrushedOre extends Item { public static ItemStack getCrushedOreByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.crushedOre, count, i); } } diff --git a/src/main/java/techreborn/items/ItemDustTiny.java b/src/main/java/techreborn/items/ItemDustTiny.java index 6f715272b..1a9dc8000 100644 --- a/src/main/java/techreborn/items/ItemDustTiny.java +++ b/src/main/java/techreborn/items/ItemDustTiny.java @@ -16,7 +16,7 @@ public class ItemDustTiny extends ItemTR { public static ItemStack getTinyDustByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.tinyDusts, count, i); } } diff --git a/src/main/java/techreborn/items/ItemDusts.java b/src/main/java/techreborn/items/ItemDusts.java index 99f34abc7..d43740c7f 100644 --- a/src/main/java/techreborn/items/ItemDusts.java +++ b/src/main/java/techreborn/items/ItemDusts.java @@ -15,7 +15,7 @@ public class ItemDusts extends ItemTR { public static ItemStack getDustByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.dusts, count, i); } } diff --git a/src/main/java/techreborn/items/ItemDustsSmall.java b/src/main/java/techreborn/items/ItemDustsSmall.java index 43dd1b8b4..a05eadced 100644 --- a/src/main/java/techreborn/items/ItemDustsSmall.java +++ b/src/main/java/techreborn/items/ItemDustsSmall.java @@ -16,7 +16,7 @@ public class ItemDustsSmall extends ItemTR { public static ItemStack getSmallDustByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.smallDusts, count, i); } } diff --git a/src/main/java/techreborn/items/ItemGems.java b/src/main/java/techreborn/items/ItemGems.java index 997746528..b8e3cedf8 100644 --- a/src/main/java/techreborn/items/ItemGems.java +++ b/src/main/java/techreborn/items/ItemGems.java @@ -16,7 +16,7 @@ public class ItemGems extends Item { public static ItemStack getGemByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.gems, count, i); } } diff --git a/src/main/java/techreborn/items/ItemIngots.java b/src/main/java/techreborn/items/ItemIngots.java index b5821a656..ab8449a66 100644 --- a/src/main/java/techreborn/items/ItemIngots.java +++ b/src/main/java/techreborn/items/ItemIngots.java @@ -15,7 +15,7 @@ public class ItemIngots extends Item { public static ItemStack getIngotByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.ingots, count, i); } } diff --git a/src/main/java/techreborn/items/ItemNuggets.java b/src/main/java/techreborn/items/ItemNuggets.java index ff8fdcfd9..679531f9f 100644 --- a/src/main/java/techreborn/items/ItemNuggets.java +++ b/src/main/java/techreborn/items/ItemNuggets.java @@ -16,7 +16,7 @@ public class ItemNuggets extends Item { public static ItemStack getNuggetByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.nuggets, count, i); } } diff --git a/src/main/java/techreborn/items/ItemParts.java b/src/main/java/techreborn/items/ItemParts.java index 9fc4228cd..58aaa9807 100644 --- a/src/main/java/techreborn/items/ItemParts.java +++ b/src/main/java/techreborn/items/ItemParts.java @@ -19,7 +19,7 @@ public class ItemParts extends Item { public static ItemStack getPartByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.parts, count, i); } } diff --git a/src/main/java/techreborn/items/ItemPlates.java b/src/main/java/techreborn/items/ItemPlates.java index 02a1ff1cc..25bb5dd01 100644 --- a/src/main/java/techreborn/items/ItemPlates.java +++ b/src/main/java/techreborn/items/ItemPlates.java @@ -16,7 +16,7 @@ public class ItemPlates extends ItemTR { public static ItemStack getPlateByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.plate, count, i); } } diff --git a/src/main/java/techreborn/items/ItemPurifiedCrushedOre.java b/src/main/java/techreborn/items/ItemPurifiedCrushedOre.java index 196af225e..d2653b00f 100644 --- a/src/main/java/techreborn/items/ItemPurifiedCrushedOre.java +++ b/src/main/java/techreborn/items/ItemPurifiedCrushedOre.java @@ -16,7 +16,7 @@ public class ItemPurifiedCrushedOre extends Item { public static ItemStack getPurifiedCrushedOreByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.purifiedCrushedOre, count, i); } } diff --git a/src/main/java/techreborn/items/ItemRods.java b/src/main/java/techreborn/items/ItemRods.java index fd848fc40..984dbffef 100644 --- a/src/main/java/techreborn/items/ItemRods.java +++ b/src/main/java/techreborn/items/ItemRods.java @@ -16,7 +16,7 @@ public class ItemRods extends Item { public static ItemStack getRodByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.rods, count, i); } } diff --git a/src/main/java/techreborn/items/ItemUpgrade.java b/src/main/java/techreborn/items/ItemUpgrade.java index 5e0721717..c4cff7fe5 100644 --- a/src/main/java/techreborn/items/ItemUpgrade.java +++ b/src/main/java/techreborn/items/ItemUpgrade.java @@ -17,7 +17,7 @@ public class ItemUpgrade extends ItemTR implements IMachineUpgrade { public static ItemStack getUpgradeByName(String name, int count) { for (int i = 0; i < types.length; i++) { - if (types[i].equals(name)) { + if (types[i].equalsIgnoreCase(name)) { return new ItemStack(ModItems.plate, count, i); } }