From 705285878fc5b0022e2dbefda03584f9f62ebbbc Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 11 Jun 2019 03:57:28 -0700 Subject: [PATCH] Diagnosing myself with dyslexia --- pom.xml | 2 +- .../nossr50/skills/repair/repairables/SimpleRepairable.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d8d1fe306..ded08ae53 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.77-SNAPSHOT + 2.1.77 mcMMO https://github.com/mcMMO-Dev/mcMMO diff --git a/src/main/java/com/gmail/nossr50/skills/repair/repairables/SimpleRepairable.java b/src/main/java/com/gmail/nossr50/skills/repair/repairables/SimpleRepairable.java index 6d5472b53..21b9fe5b8 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/repairables/SimpleRepairable.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/repairables/SimpleRepairable.java @@ -67,7 +67,7 @@ public class SimpleRepairable implements Repairable { @Override public int getMinimumQuantity() { - if(minQuantity != -1) + if(minQuantity == -1) return Math.max(SkillUtils.getRepairAndSalvageQuantities(itemMaterial, repairMaterial), 2); else return minQuantity;