mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-10-05 01:57:28 +02:00
Debounce events for 10 seconds.
This commit is contained in:
parent
bd8e1a35f6
commit
b43bc4a57a
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
class EventDebounce {
|
class EventDebounce {
|
||||||
|
|
||||||
private static final int DEBOUNCE_TIME = 5000;
|
private static final int DEBOUNCE_TIME = 10000;
|
||||||
|
|
||||||
private final long time = System.currentTimeMillis();
|
private final long time = System.currentTimeMillis();
|
||||||
private final boolean cancelled;
|
private final boolean cancelled;
|
||||||
|
Loading…
Reference in New Issue
Block a user