mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Update src/main/java/net/citizensnpcs/Citizens.java
This commit is contained in:
parent
2e3df17bcf
commit
710780a3ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user