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:
parent
25ef7e3469
commit
6924fef324
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue