mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 15:33:18 +00:00
Fix inverted parameters in OreDictionary.getOreID Closes #1123
-.- Closes #1120
This commit is contained in:
1 parent
f3cbc6c262
commit
03ae909762
2 files changed
+3
-3
No files matched your search
@@ -1192,7 +1192,7 @@
|
||||
+ * @param level Harvest level:
|
||||
+ * Wood: 0
|
||||
+ * Stone: 1
|
||||
+ * Iton: 2
|
||||
+ * Iron: 2
|
||||
+ * Diamond: 3
|
||||
+ * Gold: 0
|
||||
+ */
|
||||
@@ -1211,7 +1211,7 @@
|
||||
+ * @param level Harvest level:
|
||||
+ * Wood: 0
|
||||
+ * Stone: 1
|
||||
+ * Iton: 2
|
||||
+ * Iron: 2
|
||||
+ * Diamond: 3
|
||||
+ * Gold: 0
|
||||
+ * @param metadata The specific metadata to set
|
||||
|
||||
@@ -294,7 +294,7 @@ public class OreDictionary
|
||||
{
|
||||
for(ItemStack target : ore.getValue())
|
||||
{
|
||||
if (itemMatches(itemStack, target, false))
|
||||
if (itemMatches(target, itemStack, false))
|
||||
{
|
||||
return ore.getKey();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user