Fix oreBasalticMineralSand properly being mapped to "ore" prefix, instead of the "oreBasalt" prefix, yielding the wrong material "icMineralsand"

This commit is contained in:
Joakim Bjørnstad 2017-07-09 11:55:04 +02:00
parent b85de990ee
commit 885c8b00e9

View file

@ -795,6 +795,7 @@ public enum OrePrefixes {
for (OrePrefixes tPrefix : values()) for (OrePrefixes tPrefix : values())
if (aOre.startsWith(tPrefix.toString())) { if (aOre.startsWith(tPrefix.toString())) {
if (tPrefix == oreNether && aOre.equals("oreNetherQuartz")) return ore; if (tPrefix == oreNether && aOre.equals("oreNetherQuartz")) return ore;
if (tPrefix == oreBasalt && aOre.equals("oreBasalticMineralSand")) return ore;
return tPrefix; return tPrefix;
} }
return null; return null;