Update src/main/java/net/citizensnpcs/Citizens.java

This commit is contained in:
fullwall 2012-12-10 22:08:43 +08:00
parent b1acbe5855
commit 6fee8239db

View File

@ -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