mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fix repair
This commit is contained in:
parent
c84c428fde
commit
83617b73b7
@ -1,3 +1,9 @@
|
|||||||
|
Version 2.1.130
|
||||||
|
Fixed a bug that prevented Repair from working on the new Netherite weapons/armors
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
If you are still having issues with Repair/Salvage, delete the repair and salvage .yml files in /plugins/mcMMO and restart the server
|
||||||
|
|
||||||
Version 2.1.129
|
Version 2.1.129
|
||||||
Added new subcommand /mmoxpbar disable - Hides all mcMMO XP bars
|
Added new subcommand /mmoxpbar disable - Hides all mcMMO XP bars
|
||||||
New locale string 'Commands.XPBar.DisableAll'
|
New locale string 'Commands.XPBar.DisableAll'
|
||||||
|
2
pom.xml
2
pom.xml
@ -167,7 +167,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.15.2-R0.1-SNAPSHOT</version>
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -80,6 +80,8 @@ public class RepairConfig extends ConfigLoader {
|
|||||||
}
|
}
|
||||||
else if (ItemUtils.isDiamondArmor(repairItem) || ItemUtils.isDiamondTool(repairItem)) {
|
else if (ItemUtils.isDiamondArmor(repairItem) || ItemUtils.isDiamondTool(repairItem)) {
|
||||||
repairMaterialType = MaterialType.DIAMOND;
|
repairMaterialType = MaterialType.DIAMOND;
|
||||||
|
} else if (ItemUtils.isNetheriteArmor(repairItem) || ItemUtils.isNetheriteTool(repairItem)) {
|
||||||
|
repairMaterialType = MaterialType.NETHER;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user