You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
update: improve flood detection
This commit is contained in:
@@ -3176,10 +3176,13 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
final boolean hasRights = this.hasRights(habbo);
|
||||
|
||||
if (floodRights || !hasRights) {
|
||||
if (this.chatProtection == 0) {
|
||||
this.floodMuteHabbo(habbo, muteTime);
|
||||
return;
|
||||
} /* else if (this.chatProtection == 1 && chatCounter > 4) {
|
||||
|
||||
/*if (this.chatProtection == 0) {
|
||||
this.floodMuteHabbo(habbo, muteTime);
|
||||
return;
|
||||
} else if (this.chatProtection == 1 && chatCounter > 4) {
|
||||
this.floodMuteHabbo(habbo, muteTime);
|
||||
return;
|
||||
} else if (this.chatProtection == 2 && chatCounter > 5) {
|
||||
|
||||
Reference in New Issue
Block a user