More aggressive silencing join/quit messages.

To 5 per minute from 20.
This commit is contained in:
ryanhamshire 2016-01-15 15:21:16 -08:00
parent fa68ba9ee8
commit d5bc0e45ec

View File

@ -1021,7 +1021,7 @@ class PlayerEventHandler implements Listener
private boolean shouldSilenceNotification()
{
final long ONE_MINUTE = 60000;
final int MAX_ALLOWED = 20;
final int MAX_ALLOWED = 5;
Long now = Calendar.getInstance().getTimeInMillis();
//eliminate any expired entries (longer than a minute ago)