From 55fdf0c07607c6a0c7250d4261ebce2e0000748b Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Mon, 5 Jul 2021 21:29:16 +0200 Subject: [PATCH] maybe not hardcode this --- .../java/eu/endermite/commandwhitelist/common/ConfigCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/ConfigCache.java b/CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/ConfigCache.java index 9fef4bf..2eccf81 100644 --- a/CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/ConfigCache.java +++ b/CommandWhitelistCommon/src/main/java/eu/endermite/commandwhitelist/common/ConfigCache.java @@ -89,7 +89,7 @@ public class ConfigCache { ConfigSection groupSection = config.getConfigSection("groups"); for (String key : groupSection.getKeys(false)) { - groupList.put("key", loadCWGroup(key, groupSection)); + groupList.put(key, loadCWGroup(key, groupSection)); } return saveConfig();