From 710780a3ff6a714731399b90f4fb340094a5b3f9 Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 10 Dec 2012 22:08:43 +0800 Subject: [PATCH] Update src/main/java/net/citizensnpcs/Citizens.java --- src/main/java/net/citizensnpcs/Citizens.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/Citizens.java b/src/main/java/net/citizensnpcs/Citizens.java index 3383db976..d2edd0dbf 100644 --- a/src/main/java/net/citizensnpcs/Citizens.java +++ b/src/main/java/net/citizensnpcs/Citizens.java @@ -137,7 +137,9 @@ public class Citizens extends JavaPlugin implements CitizensPlugin { if (!commands.hasCommand(command, modifier) && !modifier.isEmpty()) { return suggestClosestModifier(sender, command.getName(), modifier); } - + if (!isEnabled()) + return false; + NPC npc = selector.getSelected(sender); // TODO: change the args supplied to a context style system for // flexibility (ie. adding more context in the future without