mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Use the preset TAG for some commands.
This commit is contained in:
parent
6767bd7eec
commit
75da549f25
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user