Browse Source

Add new repair setting to default file

nossr50 3 năm trước cách đây
mục cha
commit
9d08d88f2a
3 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 2 0
      Changelog.txt
  2. 4 4
      pom.xml
  3. 1 0
      src/main/resources/config.yml

+ 2 - 0
Changelog.txt

@@ -1,6 +1,8 @@
 Version 2.1.207
     Fixed an IndexOutOfBounds exception with our BlockTracker
     Fixed a bug where leveling up a party at level cap would spam the chat with messages
+    mcMMO will no longer use enchanted repair materials (thanks JeBobs)
+    Added an option to allow enchanted repair materials 'Skills.Repair.Use_Enchanted_Materials' in config.yml
     Temporarily rolling required Java version back to 16
     Added unicode (UTF-8) support to locale files (no more UTF-16 codes needed)
     Added locale key 'Scoreboard.Disabled' to en_US

+ 4 - 4
pom.xml

@@ -326,25 +326,25 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter</artifactId>
-            <version>5.8.1</version>
+            <version>5.8.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
-            <version>4.0.0</version>
+            <version>4.2.0</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-inline</artifactId>
-            <version>4.0.0</version>
+            <version>4.2.0</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.tomcat</groupId>
             <artifactId>tomcat-jdbc</artifactId>
-            <version>10.0.12</version>
+            <version>10.0.14</version>
             <scope>compile</scope>
         </dependency>
         <dependency>

+ 1 - 0
src/main/resources/config.yml

@@ -391,6 +391,7 @@ Skills:
         Anvil_Placed_Sounds: true
         Anvil_Use_Sounds: true
         Anvil_Material: IRON_BLOCK
+        Use_Enchanted_Materials: false
         # Ask for a confirmation when a player tries to repair an enchanted item
         Confirm_Required: true
     Salvage: