mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed //help and /we help after zml2008 broke it :)
This commit is contained in:
parent
050442fac3
commit
479253821e
@ -442,10 +442,13 @@ public class UtilityCommands {
|
|||||||
max = -1
|
max = -1
|
||||||
)
|
)
|
||||||
@Console
|
@Console
|
||||||
public static void help(CommandContext args, WorldEdit we,
|
public void help(CommandContext args, LocalSession session, LocalPlayer player,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
EditSession editSession) throws WorldEditException {
|
||||||
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();
|
final CommandsManager<LocalPlayer> commandsManager = we.getCommandsManager();
|
||||||
|
|
||||||
if (args.argsLength() == 0) {
|
if (args.argsLength() == 0) {
|
||||||
|
@ -111,9 +111,8 @@ public class WorldEditCommands {
|
|||||||
max = -1
|
max = -1
|
||||||
)
|
)
|
||||||
@Console
|
@Console
|
||||||
public static void help(CommandContext args, WorldEdit we,
|
public void help(CommandContext args, LocalSession session, LocalPlayer player,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
EditSession editSession) throws WorldEditException {
|
||||||
throws WorldEditException {
|
|
||||||
|
|
||||||
UtilityCommands.help(args, we, session, player, editSession);
|
UtilityCommands.help(args, we, session, player, editSession);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user