mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-29 14:15:50 +01:00
Update src/main/java/net/citizensnpcs/Citizens.java
This commit is contained in:
parent
b1acbe5855
commit
6fee8239db
@ -137,6 +137,8 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
|||||||
if (!commands.hasCommand(command, modifier) && !modifier.isEmpty()) {
|
if (!commands.hasCommand(command, modifier) && !modifier.isEmpty()) {
|
||||||
return suggestClosestModifier(sender, command.getName(), modifier);
|
return suggestClosestModifier(sender, command.getName(), modifier);
|
||||||
}
|
}
|
||||||
|
if (!isEnabled())
|
||||||
|
return false;
|
||||||
|
|
||||||
NPC npc = selector.getSelected(sender);
|
NPC npc = selector.getSelected(sender);
|
||||||
// TODO: change the args supplied to a context style system for
|
// TODO: change the args supplied to a context style system for
|
||||||
|
Loading…
Reference in New Issue
Block a user