mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
fix annotation
This commit is contained in:
parent
37949d07f6
commit
0650731723
@ -66,7 +66,7 @@ public class CommandOnLevelUpConfig extends BukkitConfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private @NotNull SkillLevelUpCommand buildSkillLevelUpCommand(final ConfigurationSection commandSection) {
|
private @Nullable SkillLevelUpCommand buildSkillLevelUpCommand(final ConfigurationSection commandSection) {
|
||||||
SkillLevelUpCommandBuilder builder = new SkillLevelUpCommandBuilder();
|
SkillLevelUpCommandBuilder builder = new SkillLevelUpCommandBuilder();
|
||||||
// check if command is enabled
|
// check if command is enabled
|
||||||
if (!commandSection.getBoolean(ENABLED, true)) {
|
if (!commandSection.getBoolean(ENABLED, true)) {
|
||||||
@ -171,6 +171,7 @@ public class CommandOnLevelUpConfig extends BukkitConfig {
|
|||||||
+ commandSection.getName());
|
+ commandSection.getName());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.withLevels(levels);
|
builder.withLevels(levels);
|
||||||
|
|
||||||
// commands
|
// commands
|
||||||
|
Loading…
Reference in New Issue
Block a user