Meh, #130
This commit is contained in:
parent
ac8700f8a6
commit
1488e0fdc4
@ -16,7 +16,7 @@ public class TickLimiter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean shouldContinue() {
|
public boolean shouldContinue() {
|
||||||
if (++tick >= 300 && !shouldContinue) {
|
if (++tick >= 300 && shouldContinue) {
|
||||||
tick = 0;
|
tick = 0;
|
||||||
shouldContinue = System.currentTimeMillis() - startTime < maxTime;
|
shouldContinue = System.currentTimeMillis() - startTime < maxTime;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user