Fix Tracer actionBar
Dieser Commit ist enthalten in:
Ursprung
daa6979e5a
Commit
6745dfe3c1
@ -12,6 +12,8 @@ import org.bukkit.plugin.Plugin;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import static de.steamwar.bausystem.tracer.TraceUtils.actionBar;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
class TNTTracer_12 {
|
||||
|
||||
@ -20,8 +22,6 @@ class TNTTracer_12 {
|
||||
private static TracerUpdater tracerUpdater;
|
||||
private static TraceCache traceCache = new TraceCache();
|
||||
|
||||
private static boolean actionBar = true;
|
||||
|
||||
private static class Synchronizer {}
|
||||
private static final Synchronizer synchronizer = new Synchronizer();
|
||||
|
||||
|
@ -2,12 +2,17 @@ package de.steamwar.bausystem.tracer;
|
||||
|
||||
import net.md_5.bungee.api.ChatMessageType;
|
||||
import net.md_5.bungee.api.chat.TextComponent;
|
||||
import org.bukkit.*;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Particle;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import static de.steamwar.bausystem.tracer.TraceUtils.actionBar;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
class TNTTracer_15 {
|
||||
|
||||
@ -16,8 +21,6 @@ class TNTTracer_15 {
|
||||
private static TracerUpdater tracerUpdater;
|
||||
private static TraceCache traceCache = new TraceCache();
|
||||
|
||||
private static boolean actionBar = false;
|
||||
|
||||
private static class Synchronizer {}
|
||||
private static final Synchronizer synchronizer = new Synchronizer();
|
||||
|
||||
|
@ -10,6 +10,8 @@ public class TraceUtils {
|
||||
|
||||
private static Location location;
|
||||
|
||||
public static boolean actionBar = false;
|
||||
|
||||
public static void locationInit() {
|
||||
location = new Location(Bukkit.getWorlds().get(0), 0, 0, 0);
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
package de.steamwar.bausystem.tracer;
|
||||
|
||||
public class TracerGuiUpdater {
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren