Diagnosing myself with dyslexia

This commit is contained in:
nossr50 2019-06-11 03:57:28 -07:00
parent e1dcb65888
commit 705285878f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId> <groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId> <artifactId>mcMMO</artifactId>
<version>2.1.77-SNAPSHOT</version> <version>2.1.77</version>
<name>mcMMO</name> <name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url> <url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm> <scm>

View File

@ -67,7 +67,7 @@ public class SimpleRepairable implements Repairable {
@Override @Override
public int getMinimumQuantity() { public int getMinimumQuantity() {
if(minQuantity != -1) if(minQuantity == -1)
return Math.max(SkillUtils.getRepairAndSalvageQuantities(itemMaterial, repairMaterial), 2); return Math.max(SkillUtils.getRepairAndSalvageQuantities(itemMaterial, repairMaterial), 2);
else else
return minQuantity; return minQuantity;