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())){
|
||||
|
||||
+1
-1
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
||||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=4be3d22cf6
|
||||
archash=5baefbb2af
|
||||
|
||||
Reference in New Issue
Block a user