diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-06 13:41:29 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-06 13:41:29 +0100 |
commit | 019b49ef11b453026e63b9e683d7827b85c81ab9 (patch) | |
tree | 60ecc9404f1efa7dc8ceb4d47884210a893da253 /EssentialsXMPP/src | |
parent | f3b278eac291f88ca359d7c25e24c920ee4ac494 (diff) | |
download | Essentials-019b49ef11b453026e63b9e683d7827b85c81ab9.tar Essentials-019b49ef11b453026e63b9e683d7827b85c81ab9.tar.gz Essentials-019b49ef11b453026e63b9e683d7827b85c81ab9.tar.lz Essentials-019b49ef11b453026e63b9e683d7827b85c81ab9.tar.xz Essentials-019b49ef11b453026e63b9e683d7827b85c81ab9.zip |
Updated EssentialsSpawn to use the new config code
/spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins.
Diffstat (limited to 'EssentialsXMPP/src')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java | 3 |
1 files changed, 2 insertions, 1 deletions
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 |