Skip to content

Commit 5c4b212

Browse files
committed
forgot to update
1 parent e321e90 commit 5c4b212

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/lol/hyper/toolstats/tools/config/ConfigTools.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ public boolean checkWorld(String worldName) {
107107
return true;
108108
}
109109

110-
String mode = toolStats.config.getString("worlds.mode");
110+
String mode = toolStats.config.getString("world-limit.mode");
111111
if (mode == null) {
112-
toolStats.logger.info("worlds.mode is not set, not allowing any worlds by default.");
112+
toolStats.logger.info("world-limit.mode is not set, not allowing any worlds by default.");
113113
return false;
114114
}
115115

116-
List<String> worlds = toolStats.config.getStringList("worlds.worlds");
116+
List<String> worlds = toolStats.config.getStringList("world-limit.worlds");
117117
// if no worlds are defined, deny them
118118
if (worlds.isEmpty()) {
119119
return false;

0 commit comments

Comments
 (0)