From 019b49ef11b453026e63b9e683d7827b85c81ab9 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 6 Dec 2011 13:41:29 +0100 Subject: Updated EssentialsSpawn to use the new config code /spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins. --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'EssentialsXMPP/src/com/earth2me/essentials/xmpp') diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java index 56126e23b..bcbbfa17d 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java @@ -67,12 +67,13 @@ public class EssentialsXMPP extends JavaPlugin implements IEssentialsXMPP { xmpp.disconnect(); } + instance = null; } @Override public boolean onCommand(final CommandSender sender, final Command command, final String commandLabel, final String[] args) { - return ess.onCommandEssentials(sender, command, commandLabel, args, EssentialsXMPP.class.getClassLoader(), "com.earth2me.essentials.xmpp.Command", "essentials."); + return ess.onCommandEssentials(sender, command, commandLabel, args, EssentialsXMPP.class.getClassLoader(), "com.earth2me.essentials.xmpp.Command", "essentials.", null); } @Override -- cgit v1.2.3