mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-28 05:35:45 +01:00
Change
This commit is contained in:
parent
9eea988e48
commit
98631825a3
@ -144,8 +144,8 @@ public class Citizens extends JavaPlugin {
|
|||||||
getServer().getPluginManager().disablePlugin(this);
|
getServer().getPluginManager().disablePlugin(this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.contextClassLoader = Thread.currentThread().getContextClassLoader();
|
contextClassLoader = Thread.currentThread().getContextClassLoader();
|
||||||
Thread.currentThread().setContextClassLoader(this.getClassLoader());
|
Thread.currentThread().setContextClassLoader(getClassLoader());
|
||||||
// workaround to fix scripts not loading plugin classes properly
|
// workaround to fix scripts not loading plugin classes properly
|
||||||
|
|
||||||
config = new Settings(getDataFolder());
|
config = new Settings(getDataFolder());
|
||||||
|
Loading…
Reference in New Issue
Block a user