Change Only For Proxy

This commit is contained in:
RayzsYT committed 2024-05-14 16:49:03 +02:00
1 parent 327e02272b
commit 0ee44ebf8b
1 file changed
+1 -1
@@ -270,7 +270,7 @@ public class CommandProcess {
switch (args.length) {
case 1:
if (PermissionUtil.hasPermission(sender, "stats")) suggestions.add("stats");
if (PermissionUtil.hasPermission(sender, "stats") && Reflection.isProxyServer()) suggestions.add("stats");
if (PermissionUtil.hasPermission(sender, "notify")) suggestions.add("notify");
if (PermissionUtil.hasPermission(sender, "creategroup")) suggestions.addAll(Arrays.asList("creategroup", "cg"));
if (PermissionUtil.hasPermission(sender, "deletegroup")) suggestions.addAll(Arrays.asList("deletegroup", "dg"));