浏览代码

Add missing permission nodes for copper repair and salvage Fixes #5225

nossr50 1 月之前
父节点
当前提交
1f123a4eb2
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 2 0
      Changelog.txt
  2. 6 0
      src/main/resources/plugin.yml

+ 2 - 0
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.

+ 6 - 0
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: