mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Add much more configuration ability to spam module. Fixes #247
This commit is contained in:
1 parent
e474be703e
commit
bd2fd0952f
14 files changed
+214
-90
No files matched your search
@@ -88,7 +88,7 @@ public class CommandHandler implements CommandExecutor {
|
||||
|
||||
public void handleXRay(CommandSender cs, String[] args) {
|
||||
if (hasPermission(cs, Permission.SYSTEM_XRAY)) {
|
||||
if (CONFIG.getConfig().logXRayStats.getValue()) {
|
||||
if (CONFIG.getConfig().checkXRay.getValue()) {
|
||||
List<Player> list = SERVER.matchPlayer(args[1]);
|
||||
if (list.size() == 1) {
|
||||
Player player = list.get(0);
|
||||
|
||||
Reference in new issue
Block a user