summaryrefslogtreecommitdiffstats
path: root/EssentialsPermissionsCommands/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 /EssentialsPermissionsCommands/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 'EssentialsPermissionsCommands/src')
-rw-r--r--EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java
index 0f126afb6..14e9a117c 100644
--- a/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java
+++ b/EssentialsPermissionsCommands/src/com/earth2me/essentials/permissions/EssentialsPermissionsCommands.java
@@ -47,7 +47,7 @@ public class EssentialsPermissionsCommands extends JavaPlugin
@Override
public boolean onCommand(final CommandSender sender, final Command command, final String label, final String[] args)
{
- return ess.onCommandEssentials(sender, command, label, args, Thread.currentThread().getContextClassLoader(), "com.earth2me.essentials.permissions.Command", "groupmanager.");
+ return ess.onCommandEssentials(sender, command, label, args, EssentialsPermissionsCommands.class.getClassLoader(), "com.earth2me.essentials.permissions.Command", "groupmanager.");
}
@Override