Selaa lähdekoodia

Remove all the old stuff from the config

NuclearW 13 vuotta sitten
vanhempi
sitoutus
e775abdc5a

+ 0 - 13
src/main/java/com/gmail/nossr50/config/Config.java

@@ -249,19 +249,6 @@ public class Config extends ConfigLoader {
     public boolean getRepairAnvilMessagesEnabled() { return config.getBoolean("Skills.Repair.Anvil_Messages", true); }
     public int getRepairAnvilId() { return config.getInt("Skills.Repair.Anvil_ID", 42); }
 
-    public int getRepairGoldMaterial() { return config.getInt("Skills.Repair.Gold.ID", 266); }
-    public int getRepairStoneMaterial() { return config.getInt("Skills.Repair.Stone.ID", 4); }
-    public int getRepairWoodMaterial() { return config.getInt("Skills.Repair.Wood.ID", 5); }
-    public int getRepairDiamondMaterial() { return config.getInt("Skills.Repair.Diamond.ID", 264); }
-    public int getRepairIronMaterial() { return config.getInt("Skills.Repair.Iron.ID", 265); }
-    public int getRepairStringMaterial() { return config.getInt("Skills.Repair.String.ID", 287); }
-    public int getRepairLeatherMaterial() { return config.getInt("Skills.Repair.Leather.ID", 334); }
-
-    public int getRepairDiamondLevelRequirement() { return config.getInt("Skills.Repair.Diamond.Level_Required", 50); }
-    public int getRepairIronLevelRequirement() { return config.getInt("Skills.Repair.Iron.Level_Required", 0); }
-    public int getRepairGoldLevelRequirement() { return config.getInt("Skills.Repair.Gold.Level_Required", 0); }
-    public int getRepairStoneLevelRequirement() { return config.getInt("Skills.Repair.Stone.Level_Required", 0); }
-
     /* Taming */
     public int getTamingXPWolf() { return config.getInt("Experience.Taming.Animal_Taming.Wolf", 250); }
     public int getTamingXPOcelot() { return config.getInt("Experience.Taming.Animal_Taming.Ocelot", 500); }

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

@@ -110,17 +110,8 @@ Abilities:
         Serrated_Strikes: 240
         Tree_Feller: 240
         Super_Breaker: 240
-    Max_Seconds:
-        Blast_Mining: 0
-        Giga_Drill_Breaker: 0
-        Berserk: 0
-        Green_Terra: 0
-        Skull_Splitter: 0
-        Serrated_Strikes: 0
-        Tree_Feller: 0
-        Super_Breaker: 0
     Limits:
-        Tree_Feller_Threshold: 500
+       Tree_Feller_Threshold: 500
     Tools:
         Durability_Loss_Enabled: true
         Durability_Loss: 2
@@ -161,24 +152,6 @@ Skills:
         Level_Cap: 0
         Anvil_Messages: true
         Anvil_ID: 42
-        Leather:
-            ID: 334
-        String:
-            ID: 287
-        Stone:
-            Level_Required: 0
-            ID: 4
-        Wood:
-            ID: 5
-        Gold:
-            Level_Required: 0
-            ID: 266
-        Iron:
-            Level_Required: 0
-            ID: 265
-        Diamond:
-            Level_Required: 50
-            ID: 264
     Swords:
         Enabled_For_PVP: true
         Enabled_For_PVE: true