mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Don't register Caliburn twice
This commit is contained in:
parent
b7c80d2493
commit
bb87056325
@ -206,9 +206,13 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||
|
||||
instance = this;
|
||||
initFolders();
|
||||
caliburn = CaliburnAPI.getInstance() == null ? new CaliburnAPI(this) : CaliburnAPI.getInstance();
|
||||
caliburn.loadDataFiles();
|
||||
caliburn.finishInitialization();
|
||||
if (CaliburnAPI.getInstance() == null) {
|
||||
caliburn = new CaliburnAPI(this);
|
||||
caliburn.loadDataFiles();
|
||||
caliburn.finishInitialization();
|
||||
} else {
|
||||
caliburn = CaliburnAPI.getInstance();
|
||||
}
|
||||
DPermission.register();
|
||||
loadConfig();
|
||||
createCaches();
|
||||
|
Loading…
Reference in New Issue
Block a user