From 94b760624ded40d8a2140183bf87629a0df21356 Mon Sep 17 00:00:00 2001 From: Picono435 Date: Sat, 12 Mar 2022 11:10:53 +0000 Subject: [PATCH] Moved small comment xD --- src/main/java/com/gmail/picono435/picojobs/PicoJobsPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/picono435/picojobs/PicoJobsPlugin.java b/src/main/java/com/gmail/picono435/picojobs/PicoJobsPlugin.java index 4ad21b9a..2f2be045 100644 --- a/src/main/java/com/gmail/picono435/picojobs/PicoJobsPlugin.java +++ b/src/main/java/com/gmail/picono435/picojobs/PicoJobsPlugin.java @@ -344,8 +344,8 @@ public boolean generateJobsFromConfig() { boolean useWhitelist = jobc.getBoolean("use-whitelist"); Map> whitelist = new HashMap<>(); - // Legacy: Will be removed in future update if(jobc.contains("whitelist")) { + // Legacy: Will be removed in future update if(jobc.get("whitelist") instanceof List) { List white = jobc.getStringList("whitelist"); for(Type type : types) {