mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-14 22:56:10 +01:00
Don't register permissions once again on /dxl reload
This commit is contained in:
parent
514a3f1af6
commit
f1de40ef2f
@ -131,6 +131,7 @@ public class DungeonsXL extends BRPlugin {
|
||||
super.onEnable();
|
||||
instance = this;
|
||||
|
||||
DPermissions.register();
|
||||
initFolders();
|
||||
loadCore();
|
||||
|
||||
@ -257,7 +258,6 @@ public class DungeonsXL extends BRPlugin {
|
||||
loadMainConfig(new File(getDataFolder(), "config.yml"));
|
||||
// Load Language 2
|
||||
loadMessageConfig(new File(LANGUAGES, mainConfig.getLanguage() + ".yml"));
|
||||
DPermissions.register();
|
||||
loadGameTypes();
|
||||
loadRequirementTypes();
|
||||
loadRewardTypes();
|
||||
|
Loading…
Reference in New Issue
Block a user