We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e321e90 commit 5c4b212Copy full SHA for 5c4b212
1 file changed
src/main/java/lol/hyper/toolstats/tools/config/ConfigTools.java
@@ -107,13 +107,13 @@ public boolean checkWorld(String worldName) {
107
return true;
108
}
109
110
- String mode = toolStats.config.getString("worlds.mode");
+ String mode = toolStats.config.getString("world-limit.mode");
111
if (mode == null) {
112
- toolStats.logger.info("worlds.mode is not set, not allowing any worlds by default.");
+ toolStats.logger.info("world-limit.mode is not set, not allowing any worlds by default.");
113
return false;
114
115
116
- List<String> worlds = toolStats.config.getStringList("worlds.worlds");
+ List<String> worlds = toolStats.config.getStringList("world-limit.worlds");
117
// if no worlds are defined, deny them
118
if (worlds.isEmpty()) {
119
0 commit comments