Fixed minor compile error

This commit is contained in:
Katrina Swales committed 2014-09-27 23:47:08 +01:00
1 parent 6f3dc7f490
commit c3dc9d1b1f
1 file changed
+1 -1
@@ -51,7 +51,7 @@ public class BlockFireOrder extends BlockFireBase {
for (String ore : OreDictionary.getOreNames()) {
if (ore.startsWith("ore")) {
for (String block : OreDictionary.getOreNames()) {
if (block.startsWith("block") && block.substring(5).equalsIgnoreCase(ore.substring(3)) {
if (block.startsWith("block") && block.substring(5).equalsIgnoreCase(ore.substring(3))) {
if (OreDictionary.getOres(block).size() > 0 && OreDictionary.getOres(ore).size() > 0) {
result.put(((ItemBlock) OreDictionary.getOres(ore).get(0).getItem()).field_150939_a, ((ItemBlock) OreDictionary.getOres(block).get(0).getItem()).field_150939_a);
}