From 6f85761f7fc7949b478c0dec44240f93d4b08a02 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Wed, 16 Oct 2013 20:59:39 +0100 Subject: Extract CommandSender to CommandSource, this should prevent Ess user object leaks. --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java') diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java index 4f276c3b9..a3f8ee83e 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/Commandxmppspy.java @@ -1,10 +1,10 @@ package com.earth2me.essentials.xmpp; +import com.earth2me.essentials.CommandSource; 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; @@ -16,7 +16,7 @@ public class Commandxmppspy extends EssentialsCommand } @Override - protected void run(final Server server, final CommandSender sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException + protected void run(final Server server, final CommandSource sender, final String commandLabel, final String[] args) throws NotEnoughArgumentsException { if (args.length < 1) { -- cgit v1.2.3