Update and rename Lock.java to LockWithTimeReset.java
This commit is contained in:
parent
913d2c09f1
commit
736d7157b9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ package me.night0721.lilase.utils;
|
|||
public class LockWithTimeReset {
|
||||
public boolean isLocked = false;
|
||||
|
||||
public static void lock() {
|
||||
public void lock() {
|
||||
this.isLocked = true;
|
||||
new Thread(() -> {
|
||||
try {
|
Loading…
Reference in a new issue