Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
dbcf893078
Commit
d88a374efe
@ -150,7 +150,7 @@ public class TechHider extends StateDependent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void reloadChunks(Player p, List<ChunkPos> chunksToReload, boolean hide){
|
public static void reloadChunks(Player p, List<ChunkPos> chunksToReload, boolean hide){
|
||||||
if(!ENABLED)
|
if(!ENABLED || !FightState.Schem.contains(FightState.getFightState()))
|
||||||
return;
|
return;
|
||||||
Bukkit.getScheduler().runTaskLater(FightSystem.getPlugin(), () -> {
|
Bukkit.getScheduler().runTaskLater(FightSystem.getPlugin(), () -> {
|
||||||
for(ChunkPos chunk : chunksToReload){
|
for(ChunkPos chunk : chunksToReload){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren