From ac0bf6916b43e6eac0d5718fc56e3a582e175c13 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 10 Oct 2020 13:14:41 +0100 Subject: [PATCH] Removed debug messages --- .../main/java/com/willfp/ecoenchants/config/UpdatingLang.java | 3 --- .../willfp/ecoenchants/config/configs/EnchantmentConfig.java | 1 - 2 files changed, 4 deletions(-) diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/config/UpdatingLang.java b/Plugin/src/main/java/com/willfp/ecoenchants/config/UpdatingLang.java index cf987b47..5ae844e3 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/config/UpdatingLang.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/config/UpdatingLang.java @@ -34,20 +34,17 @@ public abstract class UpdatingLang { public void update() { try { config.load(configFile); - Bukkit.getLogger().info("BEFORE: " + config.getKeys(true).toString()); InputStream newIn = EcoEnchantsPlugin.getInstance().getResource("lang.yml"); BufferedReader reader = new BufferedReader(new InputStreamReader(newIn, StandardCharsets.UTF_8)); YamlConfiguration newConfig = new YamlConfiguration(); newConfig.load(reader); - Bukkit.getLogger().info("NEW: " + newConfig.getKeys(true).toString()); newConfig.getKeys(true).forEach((s -> { if (!config.getKeys(true).contains(s)) { config.set(s, newConfig.get(s)); } })); - Bukkit.getLogger().info("AFTER: " + config.getKeys(true).toString()); config.save(configFile); } catch (IOException | InvalidConfigurationException e) { diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/config/configs/EnchantmentConfig.java b/Plugin/src/main/java/com/willfp/ecoenchants/config/configs/EnchantmentConfig.java index 014c60f8..db95fa0a 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/config/configs/EnchantmentConfig.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/config/configs/EnchantmentConfig.java @@ -108,7 +108,6 @@ public class EnchantmentConfig extends EnchantmentYamlConfig { config.set("name", ConfigManager.getLang().getString("enchantments." + this.getName() + ".name")); config.set("description", ConfigManager.getLang().getString("enchantments." + this.getName() + ".description")); - Logger.info("LOADED " + name + "."); try { this.config.save(this.configFile); } catch (IOException e) {