mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-15 07:05:21 +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();
|
super.onEnable();
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
|
DPermissions.register();
|
||||||
initFolders();
|
initFolders();
|
||||||
loadCore();
|
loadCore();
|
||||||
|
|
||||||
@ -257,7 +258,6 @@ public class DungeonsXL extends BRPlugin {
|
|||||||
loadMainConfig(new File(getDataFolder(), "config.yml"));
|
loadMainConfig(new File(getDataFolder(), "config.yml"));
|
||||||
// Load Language 2
|
// Load Language 2
|
||||||
loadMessageConfig(new File(LANGUAGES, mainConfig.getLanguage() + ".yml"));
|
loadMessageConfig(new File(LANGUAGES, mainConfig.getLanguage() + ".yml"));
|
||||||
DPermissions.register();
|
|
||||||
loadGameTypes();
|
loadGameTypes();
|
||||||
loadRequirementTypes();
|
loadRequirementTypes();
|
||||||
loadRewardTypes();
|
loadRewardTypes();
|
||||||
|
Loading…
Reference in New Issue
Block a user