From ef96a01fc86a1989f7626bb2d447e125df318aa3 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Thu, 3 Jan 2019 20:45:51 +0100 Subject: [PATCH] Fixed bug with the YAML Database when saving config containing hidden ConfigEntry --- .../bentobox/bentobox/database/yaml/YamlDatabaseHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/database/yaml/YamlDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/yaml/YamlDatabaseHandler.java index 6107b2be2..b209998a0 100644 --- a/src/main/java/world/bentobox/bentobox/database/yaml/YamlDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/yaml/YamlDatabaseHandler.java @@ -344,7 +344,7 @@ public class YamlDatabaseHandler extends AbstractDatabaseHandler { if (configEntry.hidden()) { // If the annotation tells us to not print the config entry, then we won't. - return; + continue; } }