summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-12-06 13:41:29 +0100
committersnowleo <schneeleo@gmail.com>2011-12-06 13:41:29 +0100
commit019b49ef11b453026e63b9e683d7827b85c81ab9 (patch)
tree60ecc9404f1efa7dc8ceb4d47884210a893da253 /EssentialsXMPP
parentf3b278eac291f88ca359d7c25e24c920ee4ac494 (diff)
downloadEssentials-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')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/EssentialsXMPP.java3
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