This commit is contained in:
aPunch 2012-04-15 18:35:25 -05:00
parent 9eea988e48
commit 98631825a3

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());