From 761c3b95d94093c2ce22e99dff2e2f42f39fbf4d Mon Sep 17 00:00:00 2001 From: Tim Ekl Date: Thu, 15 Dec 2011 23:19:14 -0500 Subject: [PATCH] Implement support for CommandHandler's optional error displays This commit relates to #286 and will eventually close it when it gets merged --- lib/commandhandler | 2 +- .../java/com/onarandombox/MultiverseCore/MultiverseCore.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commandhandler b/lib/commandhandler index 209ad4ed..14ef61d5 160000 --- a/lib/commandhandler +++ b/lib/commandhandler @@ -1 +1 @@ -Subproject commit 209ad4ed0c9c1596a1ab59410ff65b09a2d44197 +Subproject commit 14ef61d5f011f8aff627f893acf2a18ee5caab4c diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java index 4a94f185..0d05ac89 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java @@ -428,7 +428,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { } ArrayList allArgs = new ArrayList(Arrays.asList(args)); allArgs.add(0, command.getName()); - return this.commandHandler.locateAndRunCommand(sender, allArgs); + return this.commandHandler.locateAndRunCommand(sender, allArgs, DisplayPermErrors); } /**