Delete LockWithTimeReset.java

This commit is contained in:
Night 2023-06-13 21:58:07 +01:00 committed by GitHub
parent 0fce0ff63e
commit 3c04aa59b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +0,0 @@
package me.night0721.lilase.utils;
public class LockWithTimeReset {
public boolean isLocked = false;
public void lock() {
this.isLocked = true;
new Thread(() -> {
try {
Thread.sleep(10000);
this.isLocked = false;
} catch (Exception ignored) {
}
}).start();
}
}