diff options
author | snowleo <schneeleo@gmail.com> | 2012-01-03 02:53:57 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-01-03 02:53:57 +0100 |
commit | a552b88172a545ddd7185d66b95398e464922f29 (patch) | |
tree | 455d7c8a4d91ef1652c7beb2efed6b28ed52f7b9 /EssentialsXMPP | |
parent | 801562ac2c0c64770eeaee5cc5815954cd5af72e (diff) | |
download | Essentials-a552b88172a545ddd7185d66b95398e464922f29.tar Essentials-a552b88172a545ddd7185d66b95398e464922f29.tar.gz Essentials-a552b88172a545ddd7185d66b95398e464922f29.tar.lz Essentials-a552b88172a545ddd7185d66b95398e464922f29.tar.xz Essentials-a552b88172a545ddd7185d66b95398e464922f29.zip |
I always forget these
Diffstat (limited to 'EssentialsXMPP')
3 files changed, 3 insertions, 21 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java index 2de521baf..fd3510aa0 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java @@ -3,18 +3,12 @@ package com.earth2me.essentials.xmpp; import com.earth2me.essentials.api.IUser; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; -import org.bukkit.Server; public class Commandsetxmpp extends EssentialsCommand { - public Commandsetxmpp() - { - super("setxmpp"); - } - @Override - protected void run(final Server server, final IUser user, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final IUser user, final String[] args) throws NotEnoughArgumentsException { if (args.length < 1) { diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java index a336bba55..c275e8778 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java @@ -3,20 +3,14 @@ package com.earth2me.essentials.xmpp; import com.earth2me.essentials.Console; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; -import org.bukkit.Server; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class Commandxmpp extends EssentialsCommand { - public Commandxmpp() - { - super("xmpp"); - } - @Override - protected void run(final Server server, final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final CommandSender sender, final String[] args) throws NotEnoughArgumentsException { if (args.length < 2) { diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java index 4f276c3b9..968058fb3 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java @@ -3,20 +3,14 @@ package com.earth2me.essentials.xmpp; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; import java.util.List; -import org.bukkit.Server; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class Commandxmppspy extends EssentialsCommand { - public Commandxmppspy() - { - super("xmppspy"); - } - @Override - protected void run(final Server server, final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final CommandSender sender, final String[] args) throws NotEnoughArgumentsException { if (args.length < 1) { |