This commit is contained in:
aPunch 2012-04-15 18:35:25 -05:00
parent 3a25ca5ce8
commit 9c2a748d27
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ public class Citizens extends JavaPlugin {
getServer().getPluginManager().disablePlugin(this);
return;
}
this.contextClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(this.getClassLoader());
contextClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getClassLoader());
// workaround to fix scripts not loading plugin classes properly
config = new Settings(getDataFolder());