Skip to content

Commit

Permalink
Update ReportCommand.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TurpCoding authored May 24, 2022
1 parent 31dc89d commit 66d6abf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public boolean onCommand(CommandSender commandSender, Command command, String s,
? "&cThe player you tried to report either doesn't exist or isn't online."
: "&4&l[EasyReport] &cThe player you tried to report either doesn't exist or isn't online."));
} else {
if (!permissionCheck(player, "report.report")) {return true;}
player.sendMessage(ChatColor.translateAlternateColorCodes('&',
mainClass.getConfig().getBoolean("removePluginPrefixFromChatMessages")
? "&cUsage: /report <player> <reason>"
Expand Down

0 comments on commit 66d6abf

Please sign in to comment.