mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
Fixed #9011
This commit is contained in:
parent
a4b1ad3b67
commit
700dd38a36
@ -69,7 +69,7 @@ public class Administration{
|
||||
if(action.type != ActionType.breakBlock &&
|
||||
action.type != ActionType.placeBlock &&
|
||||
action.type != ActionType.commandUnits &&
|
||||
Config.antiSpam.bool() && !player.isLocal()){
|
||||
Config.antiSpam.bool() && !action.player.isLocal()){
|
||||
|
||||
Ratekeeper rate = action.player.getInfo().rate;
|
||||
if(rate.allow(Config.interactRateWindow.num() * 1000L, Config.interactRateLimit.num())){
|
||||
|
Loading…
Reference in New Issue
Block a user