diff options
author | snowleo <schneeleo@gmail.com> | 2012-04-08 00:07:53 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-04-08 00:07:53 +0200 |
commit | 711d42d6042e1700abe33b4832eeb75d6e1a9a12 (patch) | |
tree | 5197c8cb6c5cf28b18887bb0919e836a4c1aa7f3 /EssentialsXMPP | |
parent | dc4ca6386f48b997d57d1791edc64830e886e60a (diff) | |
download | Essentials-711d42d6042e1700abe33b4832eeb75d6e1a9a12.tar Essentials-711d42d6042e1700abe33b4832eeb75d6e1a9a12.tar.gz Essentials-711d42d6042e1700abe33b4832eeb75d6e1a9a12.tar.lz Essentials-711d42d6042e1700abe33b4832eeb75d6e1a9a12.tar.xz Essentials-711d42d6042e1700abe33b4832eeb75d6e1a9a12.zip |
Server-Layer Part 1
Diffstat (limited to 'EssentialsXMPP')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java | 3 | ||||
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java index 23bd34170..0c9e8d91c 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmpp.java @@ -1,6 +1,7 @@ package com.earth2me.essentials.xmpp; import com.earth2me.essentials.Console; +import com.earth2me.essentials.api.server.ICommandSender; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; import org.bukkit.command.CommandSender; @@ -10,7 +11,7 @@ import org.bukkit.entity.Player; public class Commandxmpp extends EssentialsCommand { @Override - protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final ICommandSender sender, final String commandLabel, 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 5da4d8f93..c5f846aa2 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java @@ -1,5 +1,6 @@ package com.earth2me.essentials.xmpp; +import com.earth2me.essentials.api.server.ICommandSender; import com.earth2me.essentials.commands.EssentialsCommand; import com.earth2me.essentials.commands.NotEnoughArgumentsException; import java.util.List; @@ -10,7 +11,7 @@ import org.bukkit.entity.Player; public class Commandxmppspy extends EssentialsCommand { @Override - protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final ICommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException { if (args.length < 1) { |