ItemFrame Fix, Claiming with No Power Double Check, Scoreboard Duplicate Double Check modified BlockListener

This commit is contained in:
Driftay
2020-04-06 10:32:16 -04:00
parent 8d1b26e561
commit 0c5cc3a978
28 changed files with 151 additions and 260 deletions

View File

@@ -5,7 +5,7 @@ package com.massivecraft.factions.util;
* All rights reserved 2020.
* Creation Date: 4/4/2020
*/
import com.massivecraft.factions.util.XMaterial;
import org.bukkit.Bukkit;
import org.bukkit.Color;
import org.bukkit.Location;

View File

@@ -5,6 +5,7 @@ package com.massivecraft.factions.util;
* All rights reserved 2020.
* Creation Date: 4/4/2020
*/
import org.bukkit.Bukkit;
import java.lang.reflect.Constructor;

View File

@@ -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;

View File

@@ -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);
}