Fixed //help and /we help after zml2008 broke it :)

This commit is contained in:
TomyLobo 2011-12-22 11:35:43 +01:00
parent 050442fac3
commit 479253821e
2 changed files with 8 additions and 6 deletions

View File

@ -442,10 +442,13 @@ public class UtilityCommands {
max = -1
)
@Console
public static void help(CommandContext args, WorldEdit we,
LocalSession session, LocalPlayer player, EditSession editSession)
throws WorldEditException {
public void help(CommandContext args, LocalSession session, LocalPlayer player,
EditSession editSession) throws WorldEditException {
help(args, we, session, player, editSession);
}
public static void help(CommandContext args, WorldEdit we, LocalSession session, LocalPlayer player, EditSession editSession) {
final CommandsManager<LocalPlayer> commandsManager = we.getCommandsManager();
if (args.argsLength() == 0) {

View File

@ -111,9 +111,8 @@ public class WorldEditCommands {
max = -1
)
@Console
public static void help(CommandContext args, WorldEdit we,
LocalSession session, LocalPlayer player, EditSession editSession)
throws WorldEditException {
public void help(CommandContext args, LocalSession session, LocalPlayer player,
EditSession editSession) throws WorldEditException {
UtilityCommands.help(args, we, session, player, editSession);
}