Use the preset TAG for some commands.

This commit is contained in:
asofold 2014-03-21 22:17:37 +01:00
parent 6767bd7eec
commit 75da549f25
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class NotifyOffCommand extends BaseCommand {
return true;
}
DataManager.getPlayerData(sender.getName(), true).setNotifyOff(true);
sender.sendMessage(ChatColor.RED + "NCP: " + ChatColor.WHITE + "Notifications are now turned " + ChatColor.RED + "off" + ChatColor.WHITE + ".");
sender.sendMessage(TAG + "Notifications are now turned " + ChatColor.RED + "off" + ChatColor.WHITE + ".");
return true;
}

View File

@ -29,7 +29,7 @@ public class NotifyOnCommand extends BaseCommand {
return true;
}
DataManager.getPlayerData(sender.getName(), true).setNotifyOff(false);
sender.sendMessage(ChatColor.RED + "NCP: " + ChatColor.WHITE + "Notifications are now turned " + ChatColor.YELLOW + "on" + ChatColor.WHITE + ".");
sender.sendMessage(TAG + "Notifications are now turned " + ChatColor.YELLOW + "on" + ChatColor.WHITE + ".");
return true;
}