fix: correct issues with same-server RTP validation

This commit is contained in:
William committed 2024-12-13 17:33:49 +00:00
1 parent eb79ee8107
commit 1eebdb2718
6 files changed
+56 -20

No files matched your search

@@ -347,7 +347,7 @@ public final class Settings {
@Comment({"List of server in which /rtp is allowed. (Only relevant when using cross server mode WITH REDIS)",
"If a server is not defined here the RTP logic has no way of knowing its existence."})
private Map<String, List<String>> randomTargetServers = new HashMap<>(
Map.of("survival_server", List.of("world", "world_nether", "world_the_end"))
Map.of("server", List.of("world", "world_nether", "world_the_end"))
);
}