1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 02:33:15 +01:00

Fix repair

This commit is contained in:
nossr50
2020-06-24 23:39:14 -07:00
parent c84c428fde
commit 83617b73b7
3 changed files with 9 additions and 1 deletions

View File

@@ -80,6 +80,8 @@ public class RepairConfig extends ConfigLoader {
}
else if (ItemUtils.isDiamondArmor(repairItem) || ItemUtils.isDiamondTool(repairItem)) {
repairMaterialType = MaterialType.DIAMOND;
} else if (ItemUtils.isNetheriteArmor(repairItem) || ItemUtils.isNetheriteTool(repairItem)) {
repairMaterialType = MaterialType.NETHER;
}
}
else {