From 7d05c9d8e66336b13c97cd496b8afc68a9dad177 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sat, 15 Apr 2017 00:24:39 -0400 Subject: [PATCH] Add some more defaults into the config. Remove the parts that delete keys, I don't maintain config files well enough to have them remove unknown keys. --- .../config/AutoUpdateConfigLoader.java | 4 +-- src/main/resources/experience.yml | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java b/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java index 7ff29d1eb..d13bd7aaa 100644 --- a/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java +++ b/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java @@ -45,8 +45,8 @@ public abstract class AutoUpdateConfigLoader extends ConfigLoader { } for (String key : oldKeys) { - plugin.debug("Removing unused key: " + key); - config.set(key, null); + plugin.debug("Detected potentially unused key: " + key); + //config.set(key, null); } for (String key : newKeys) { diff --git a/src/main/resources/experience.yml b/src/main/resources/experience.yml index aa84d1e22..a4dd03813 100644 --- a/src/main/resources/experience.yml +++ b/src/main/resources/experience.yml @@ -234,6 +234,10 @@ Experience: Wolf: 250 Ocelot: 500 Horse: 1000 + Donkey: 1000 + Mule: 1000 + Skeleton_Horse: 1000 + Zombie_Horse: 1000 Combat: Multiplier: Animals: 1.0 @@ -259,3 +263,27 @@ Experience: Guardian: 3.0 Elder_Guardian: 4.0 Shulker: 2.0 + Donkey: 1.0 + Mule: 1.0 + Horse: 1.0 + Zombie_Villager: 2.0 + Skeleton_Horse: 1.0 + Zombie_Horse: 1.0 + Husk: 3.0 + Evoker: 3.0 + Polar_Bear: 1.0 + Llama: 1.0 + Vindicator: 3.0 + Stray: 2.0 + Rabbit: 1.0 + Chicken: 1.0 + Bat: 1.0 + Shulker: 2.0 + Mushroom_Cow: 1.0 + Cow: 1.0 + Sheep: 1.0 + Pig: 1.0 + Squid: 1.0 + Ocelot: 1.0 + Villager: 1.0 + Snowman: 0.0