mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-09 01:06:05 +00:00
JSON Cleaner in util & Decree tag & beatify DecreeCMD
This commit is contained in:
@@ -53,7 +53,7 @@ public interface DecreeSystem extends CommandExecutor, TabCompleter {
|
||||
@Override
|
||||
default boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {
|
||||
J.aBukkit(() -> {
|
||||
if(!call(new VolmitSender(sender), args))
|
||||
if(!call(new VolmitSender(sender, Iris.instance.getTag()), args))
|
||||
{
|
||||
sender.sendMessage(C.RED + "Unknown Iris Command");
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ public class VirtualDecreeCommand {
|
||||
if(isStudio() && !IrisSettings.get().isStudio())
|
||||
{
|
||||
sender.sendMessage(C.RED + "To use Iris Studio Commands, please enable studio in Iris/settings.json (settings auto-reload)");
|
||||
return false;
|
||||
return true; // Must still return true because command exists but is not enabled
|
||||
}
|
||||
|
||||
Iris.debug("@ " + getPath() + " with " + args.toString(", "));
|
||||
|
||||
Reference in New Issue
Block a user