summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-16 05:06:08 +0200
committersnowleo <schneeleo@gmail.com>2011-07-16 05:06:08 +0200
commitd9bfabd6521db72b2120e370d895c8aea19e0536 (patch)
tree06372e8a8ab7a587726abbd12ea3567fbdbfb699 /EssentialsSpawn/src
parentd9b88a83d11540a31551754557ea4c625c65fdb2 (diff)
downloadEssentials-d9bfabd6521db72b2120e370d895c8aea19e0536.tar
Essentials-d9bfabd6521db72b2120e370d895c8aea19e0536.tar.gz
Essentials-d9bfabd6521db72b2120e370d895c8aea19e0536.tar.lz
Essentials-d9bfabd6521db72b2120e370d895c8aea19e0536.tar.xz
Essentials-d9bfabd6521db72b2120e370d895c8aea19e0536.zip
Revert to correct class loader
Diffstat (limited to 'EssentialsSpawn/src')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
index fcc8f6276..1bae3fed3 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
@@ -41,6 +41,6 @@ public class EssentialsSpawn extends JavaPlugin
@Override
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)
{
- return ess.onCommandEssentials(sender, command, commandLabel, args, Thread.currentThread().getContextClassLoader(), "com.earth2me.essentials.spawn.Command", "essentials.");
+ return ess.onCommandEssentials(sender, command, commandLabel, args, EssentialsSpawn.class.getClassLoader(), "com.earth2me.essentials.spawn.Command", "essentials.");
}
}