PreCommandEvent event = VanillaPlugin.getInstance().getEngine().getEventManager().callEvent(new PreCommandEvent(this, command, args));
if (event.isCancelled()) {
return;
}
command = event.getCommand();
CommandArguments arguments = event.getArguments();
if (Spout.debugMode()) {
Spout.getLogger().info("Executing: " + command + " " + arguments);
}