mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-18 09:51:17 +02: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;
|
return true;
|
||||||
}
|
}
|
||||||
DataManager.getPlayerData(sender.getName(), true).setNotifyOff(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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ public class NotifyOnCommand extends BaseCommand {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
DataManager.getPlayerData(sender.getName(), true).setNotifyOff(false);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user