From 1f123a4eb23b1b7892c33eebc80384d339778007 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sat, 8 Nov 2025 13:44:35 -0800 Subject: [PATCH] Add missing permission nodes for copper repair and salvage Fixes #5225 --- Changelog.txt | 2 ++ src/main/resources/plugin.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Changelog.txt b/Changelog.txt index 1e5d2d160..0f8dfccff 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -3,6 +3,8 @@ Version 2.2.045 Fixed an error that could happen when replanting crops with Green Thumb Fixed a bug where salvage.vanilla.yml was readding deleted entries on server restart Fixed a bug where repair.vanilla.yml was readding deleted entries on server restart + Added missing permission node 'mcmmo.ability.repair.copperrepair' + Added missing permission node 'mcmmo.ability.salvage.coppersalvage' NOTES: The delay from a plant being replanted from Green Thumb is intentional, and while looking into bugs it seemd maybe a tad slow, so I sped it up a bit. diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 700e0c5cd..eca3bbe9b 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -529,6 +529,7 @@ permissions: mcmmo.ability.repair.armorrepair: true mcmmo.ability.repair.netheriterepair: true mcmmo.ability.repair.diamondrepair: true + mcmmo.ability.repair.copperrepair: true mcmmo.ability.repair.goldrepair: true mcmmo.ability.repair.ironrepair: true mcmmo.ability.repair.leatherrepair: true @@ -548,6 +549,8 @@ permissions: description: Allows ability to repair Netherite tools & armor mcmmo.ability.repair.diamondrepair: description: Allows ability to repair Diamond tools & armor + mcmmo.ability.repair.copperrepair: + description: Allows ability to repair Copper tools & armor mcmmo.ability.repair.goldrepair: description: Allows ability to repair Gold tools & armor mcmmo.ability.repair.ironrepair: @@ -584,6 +587,7 @@ permissions: mcmmo.ability.salvage.diamondsalvage: true mcmmo.ability.salvage.netheritesalvage: true mcmmo.ability.salvage.goldsalvage: true + mcmmo.ability.salvage.coppersalvage: true mcmmo.ability.salvage.ironsalvage: true mcmmo.ability.salvage.leathersalvage: true mcmmo.ability.salvage.othermaterialsalvage: true @@ -604,6 +608,8 @@ permissions: description: Allows ability to salvage Diamond tools & armor mcmmo.ability.salvage.goldsalvage: description: Allows ability to salvage Gold tools & armor + mcmmo.ability.salvage.coppersalvage: + description: Allows ability to salvage Copper tools & armor mcmmo.ability.salvage.ironsalvage: description: Allows ability to salvage Iron tools & armor mcmmo.ability.salvage.leathersalvage: