mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 12:38:05 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
221b28c153
@ -41,7 +41,6 @@ public class Administration{
|
|||||||
if(player.getInfo().messageInfractions >= Config.messageSpamKick.num() && Config.messageSpamKick.num() != 0){
|
if(player.getInfo().messageInfractions >= Config.messageSpamKick.num() && Config.messageSpamKick.num() != 0){
|
||||||
player.con.kick("You have been kicked for spamming.", 1000 * 60 * 2);
|
player.con.kick("You have been kicked for spamming.", 1000 * 60 * 2);
|
||||||
}
|
}
|
||||||
player.getInfo().lastSentMessage = message;
|
|
||||||
return null;
|
return null;
|
||||||
}else{
|
}else{
|
||||||
player.getInfo().messageInfractions = 0;
|
player.getInfo().messageInfractions = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user