diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/Console.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Console.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Console.java b/Essentials/src/com/earth2me/essentials/Console.java index d07171c63..2e43883cf 100644 --- a/Essentials/src/com/earth2me/essentials/Console.java +++ b/Essentials/src/com/earth2me/essentials/Console.java @@ -1,6 +1,6 @@ package com.earth2me.essentials; -import org.bukkit.Server; +import com.earth2me.essentials.api.IReplyTo; import org.bukkit.command.CommandSender; @@ -14,13 +14,8 @@ public final class Console implements IReplyTo { } - public static CommandSender getCommandSender(Server server) throws Exception - { - return server.getConsoleSender(); - } - @Override - public void setReplyTo(CommandSender user) + public void setReplyTo(final CommandSender user) { replyTo = user; } |