mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
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:
1 parent
25ef7e3469
commit
6924fef324
1 file changed
+1
-1
@@ -319,7 +319,7 @@ public class OreDictionary
|
||||
{
|
||||
for(ItemStack target : ore.getValue())
|
||||
{
|
||||
if (itemMatches(itemStack, target, false))
|
||||
if (itemMatches(target, itemStack, false))
|
||||
{
|
||||
ids.add(ore.getKey());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user