Fix getOreIDs not using the wildcard value correctly

You can see it's not working by requesting the ore IDs from lapis, and you'll see the name "dye" is missing (and that's the one registered using the wildcard).

Fixed it by inverting the order of the item stack parameters.
This commit is contained in:
ganymedes01 2014-05-25 19:15:26 -03:00
parent 25ef7e3469
commit 6924fef324

View file

@ -319,7 +319,7 @@ public class OreDictionary
{ {
for(ItemStack target : ore.getValue()) for(ItemStack target : ore.getValue())
{ {
if (itemMatches(itemStack, target, false)) if (itemMatches(target, itemStack, false))
{ {
ids.add(ore.getKey()); ids.add(ore.getKey());
} }