mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Properly integrate lang values into chat spamming
This commit is contained in:
1 parent
753858d238
commit
8404ca0986
3 files changed
+5
-8
No files matched your search
@@ -158,7 +158,7 @@ public class PlayerListener extends EventListener
|
||||
event.setCancelled(b);
|
||||
if (b)
|
||||
{
|
||||
player.sendMessage(ChatColor.RED + "Please do not spam.");
|
||||
player.sendMessage(ChatColor.RED+config.getLang().getChatWarning());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user