ItemFrame Fix, Claiming with No Power Double Check, Scoreboard Duplicate Double Check modified BlockListener
This commit is contained in:
@@ -13,8 +13,8 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
* Creation Date: 4/4/2020
|
||||
*/
|
||||
public class WaitExecutor {
|
||||
private static boolean enabled = false;
|
||||
public static ConcurrentHashMap<Player, WaitTask> taskMap = new ConcurrentHashMap<>();
|
||||
private static boolean enabled = false;
|
||||
|
||||
public static void startTask() {
|
||||
if (enabled) return;
|
||||
|
||||
@@ -25,6 +25,10 @@ public class WaitTask {
|
||||
return wait;
|
||||
}
|
||||
|
||||
public void setWait(Integer i) {
|
||||
wait = i;
|
||||
}
|
||||
|
||||
public TL getMessage() {
|
||||
return msg;
|
||||
}
|
||||
@@ -33,10 +37,6 @@ public class WaitTask {
|
||||
return player;
|
||||
}
|
||||
|
||||
public void setWait(Integer i) {
|
||||
wait = i;
|
||||
}
|
||||
|
||||
public void success() {
|
||||
origin.handleSuccess(player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user