From 479253821e1687ba9d1d509177e98365015ee30f Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 22 Dec 2011 11:35:43 +0100 Subject: [PATCH] Fixed //help and /we help after zml2008 broke it :) --- .../com/sk89q/worldedit/commands/UtilityCommands.java | 9 ++++++--- .../com/sk89q/worldedit/commands/WorldEditCommands.java | 5 ++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java b/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java index 2316ac10c..96b7ca615 100644 --- a/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java @@ -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 commandsManager = we.getCommandsManager(); if (args.argsLength() == 0) { diff --git a/src/main/java/com/sk89q/worldedit/commands/WorldEditCommands.java b/src/main/java/com/sk89q/worldedit/commands/WorldEditCommands.java index a0af11be6..c68477887 100644 --- a/src/main/java/com/sk89q/worldedit/commands/WorldEditCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/WorldEditCommands.java @@ -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); }