mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Edit /addlevels a bit, along with some command info in plugin.yml
This commit is contained in:
@ -87,7 +87,7 @@ public class AddlevelsCommand implements CommandExecutor{
|
||||
|
||||
profile.addLevels(skill, levels);
|
||||
|
||||
// TODO: Is it even possible for the player to be offline at this point?
|
||||
// Check if the player is online before we try to send them a message.
|
||||
if (player.isOnline()) {
|
||||
if (skill.equals(SkillType.ALL)) {
|
||||
player.sendMessage(LocaleLoader.getString("Commands.addlevels.AwardAll.1", levels));
|
||||
|
Reference in New Issue
Block a user