mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 23:36:52 +00:00
Activate decree
This commit is contained in:
1 parent
93f2c83c0e
commit
faf5bcb32b
78 files changed
+36
-6697
No files matched your search
@@ -60,6 +60,11 @@ public interface DecreeSystem extends CommandExecutor, TabCompleter {
|
||||
|
||||
@Override
|
||||
default boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
||||
if(!sender.hasPermission("iris.all"))
|
||||
{
|
||||
sender.sendMessage("You lack the Permission 'iris.all'");
|
||||
}
|
||||
|
||||
J.aBukkit(() -> {
|
||||
if (!call(new VolmitSender(sender), args)) {
|
||||
sender.sendMessage(C.RED + "Unknown Iris Command");
|
||||
|
||||
Reference in new issue
Block a user