mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 18:24:43 +02:00
Fixed a bug where shovels took too many materials to repair
This commit is contained in:
@ -68,7 +68,7 @@ public class SimpleRepairable implements Repairable {
|
||||
@Override
|
||||
public int getMinimumQuantity() {
|
||||
if(minQuantity == -1)
|
||||
return Math.max(SkillUtils.getRepairAndSalvageQuantities(itemMaterial, repairMaterial), 2);
|
||||
return Math.max(SkillUtils.getRepairAndSalvageQuantities(itemMaterial, repairMaterial), 1);
|
||||
else
|
||||
return minQuantity;
|
||||
}
|
||||
|
Reference in New Issue
Block a user