diff --git a/src/main/java/xyz/refinedev/api/storage/YamlStorage.java b/src/main/java/xyz/refinedev/api/storage/YamlStorage.java index 9edc6f2..cf7a63e 100644 --- a/src/main/java/xyz/refinedev/api/storage/YamlStorage.java +++ b/src/main/java/xyz/refinedev/api/storage/YamlStorage.java @@ -65,11 +65,7 @@ public YamlStorage(JavaPlugin plugin, String dataFolder, String name) { } try { - if (saveResource) { - this.config.load(file); - } else { - this.config.load(); - } + this.config.load(); } catch (IOException ex) { LOGGER.error("[Storage] Could not load " + name + ".yml, please correct your syntax errors!"); LOGGER.error("[Storage] Error: " + ex.getMessage());