From 0155bcedb7f00726d0b2f14e612a5342322a8278 Mon Sep 17 00:00:00 2001 From: snowleo Date: Wed, 14 Dec 2011 16:31:08 +0100 Subject: Updated all modules to new api, some settings are still missing --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java') diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java index e0bf9827c..2de521baf 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java @@ -1,6 +1,6 @@ package com.earth2me.essentials.xmpp; -import com.earth2me.essentials.User; +import com.earth2me.essentials.api.IUser; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; import org.bukkit.Server; @@ -14,7 +14,7 @@ public class Commandsetxmpp extends EssentialsCommand } @Override - protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final Server server, final IUser user, final String commandLabel, final String[] args) throws NotEnoughArgumentsException { if (args.length < 1) { -- cgit v1.2.3 From a552b88172a545ddd7185d66b95398e464922f29 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 3 Jan 2012 02:53:57 +0100 Subject: I always forget these --- .../src/com/earth2me/essentials/xmpp/Commandsetxmpp.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandsetxmpp.java') 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) { -- cgit v1.2.3