Add much more configuration ability to spam module. Fixes #247

This commit is contained in:
h31ix committed 2013-10-14 12:53:12 -04:00
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);