Ignore ratelimit for local
This commit is contained in:
@@ -69,7 +69,7 @@ public class Administration{
|
||||
if(action.type != ActionType.breakBlock &&
|
||||
action.type != ActionType.placeBlock &&
|
||||
action.type != ActionType.commandUnits &&
|
||||
Config.antiSpam.bool()){
|
||||
Config.antiSpam.bool() && !player.isLocal()){
|
||||
|
||||
Ratekeeper rate = action.player.getInfo().rate;
|
||||
if(rate.allow(Config.interactRateWindow.num() * 1000L, Config.interactRateLimit.num())){
|
||||
|
||||
Reference in New Issue
Block a user