mirror of
https://github.com/kaboomserver/extras.git
synced 2024-06-03 10:51:21 +00:00
Increase chat delay from 5ms to 50ms
This commit is contained in:
parent
2b0ccbef89
commit
95c317667e
|
@ -28,7 +28,7 @@ public final class PlayerChat implements Listener {
|
|||
if (PlayerCommand.getCommandMillisList().get(playerUuid) != null) {
|
||||
final long millisDifference = System.currentTimeMillis() - PlayerCommand.getCommandMillisList().get(playerUuid);
|
||||
|
||||
if (millisDifference < 5) {
|
||||
if (millisDifference < 50) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue