mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-08 09:17:38 +01:00
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:
parent
ac229bfcd6
commit
761c3b95d9
@ -1 +1 @@
|
|||||||
Subproject commit 209ad4ed0c9c1596a1ab59410ff65b09a2d44197
|
Subproject commit 14ef61d5f011f8aff627f893acf2a18ee5caab4c
|
@ -428,7 +428,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
|
|||||||
}
|
}
|
||||||
ArrayList<String> allArgs = new ArrayList<String>(Arrays.asList(args));
|
ArrayList<String> allArgs = new ArrayList<String>(Arrays.asList(args));
|
||||||
allArgs.add(0, command.getName());
|
allArgs.add(0, command.getName());
|
||||||
return this.commandHandler.locateAndRunCommand(sender, allArgs);
|
return this.commandHandler.locateAndRunCommand(sender, allArgs, DisplayPermErrors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user