Implement support for CommandHandler's optional error displays

This commit relates to #286 and will eventually close it when it gets
merged
This commit is contained in:
Tim Ekl 2011-12-15 23:19:14 -05:00
parent ac229bfcd6
commit 761c3b95d9
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 209ad4ed0c9c1596a1ab59410ff65b09a2d44197
Subproject commit 14ef61d5f011f8aff627f893acf2a18ee5caab4c

View File

@ -428,7 +428,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
}
ArrayList<String> allArgs = new ArrayList<String>(Arrays.asList(args));
allArgs.add(0, command.getName());
return this.commandHandler.locateAndRunCommand(sender, allArgs);
return this.commandHandler.locateAndRunCommand(sender, allArgs, DisplayPermErrors);
}
/**