Closed Dykam closed 9 years ago
Whilst this will stop spamming all players, it won't give the player in question any indication of what just happened.
It would be better to send it to both.
player.getPlayer() != null can be used to check if the OfflinePlayer is online.
I'm fine with everything which doesn't spam the entire server, but this should serve better.
Prevent spamming of the global chat, instead output to the console