diff --git a/paper-api/src/main/java/org/bukkit/command/PluginCommand.java b/paper-api/src/main/java/org/bukkit/command/PluginCommand.java index 27eb0b1881..97c6ad6644 100644 --- a/paper-api/src/main/java/org/bukkit/command/PluginCommand.java +++ b/paper-api/src/main/java/org/bukkit/command/PluginCommand.java @@ -27,6 +27,10 @@ public final class PluginCommand extends Command { public boolean execute(CommandSender sender, String commandLabel, String[] args) { boolean success = false; + if (!owningPlugin.isEnabled()) { + return false; + } + try { success = executor.onCommand(sender, this, commandLabel, args); } catch (Throwable ex) {