Fix inverted parameters in OreDictionary.getOreID Closes #1123
-.- Closes #1120
This commit is contained in:
parent
f3cbc6c262
commit
03ae909762
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue