Skip to content

Commit

Permalink
fix annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed Feb 18, 2024
1 parent 37949d0 commit 0650731
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected void loadKeys() {
}
}

private @NotNull SkillLevelUpCommand buildSkillLevelUpCommand(final ConfigurationSection commandSection) {
private @Nullable SkillLevelUpCommand buildSkillLevelUpCommand(final ConfigurationSection commandSection) {
SkillLevelUpCommandBuilder builder = new SkillLevelUpCommandBuilder();
// check if command is enabled
if (!commandSection.getBoolean(ENABLED, true)) {
Expand Down Expand Up @@ -171,6 +171,7 @@ protected void loadKeys() {
+ commandSection.getName());
return null;
}

builder.withLevels(levels);

// commands
Expand Down

0 comments on commit 0650731

Please sign in to comment.