Skip to content

Commit

Permalink
Change config access
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Aug 5, 2024
1 parent 586b980 commit e702ee0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class BukkitLuckPermsHook extends LuckPermsHook implements Listener {
public BukkitLuckPermsHook(AuraSkillsPlugin plugin, ConfigurationNode config) {
super(plugin, config);

this.optimizePermissionLookup = getConfig().node("optimize_permission_lookup").getBoolean();
this.optimizePermissionLookup = config.node("optimize_permission_lookup").getBoolean(true);

if (!this.optimizePermissionLookup) return;

Expand Down

0 comments on commit e702ee0

Please sign in to comment.