Change Path For Spigot Only

This commit is contained in:
RayzsYT committed 2024-05-22 20:10:52 +02:00
1 parent 2af68b1943
commit 23cbc472a7
1 file changed
+2 -1
@@ -2,11 +2,12 @@ package de.rayzs.pat.api.storage.blacklist;
import de.rayzs.pat.api.storage.Storage;
import de.rayzs.pat.api.storage.blacklist.impl.*;
import de.rayzs.pat.utils.Reflection;
public class BlacklistCreator {
public static GeneralBlacklist createGeneralBlacklist() {
return new GeneralBlacklist("global.commands");
return new GeneralBlacklist((Reflection.isProxyServer() ? "global." : "") + "commands");
}
public static GeneralBlacklist createGeneralBlacklist(String server) {