Fix traceRenderer, Bukkit.getScheduler
Dieser Commit ist enthalten in:
Ursprung
29cb90f128
Commit
993e0bbe62
@ -45,7 +45,7 @@ class TNTTracer_15 {
|
||||
synchronizer.notifyAll();
|
||||
}
|
||||
}, 1, 20);
|
||||
Thread traceRenderer = new Thread(() -> {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
|
||||
while (true) {
|
||||
synchronized (synchronizer) {
|
||||
try {
|
||||
@ -57,9 +57,6 @@ class TNTTracer_15 {
|
||||
run();
|
||||
}
|
||||
});
|
||||
traceRenderer.setDaemon(true);
|
||||
traceRenderer.setName("Trace Renderer");
|
||||
traceRenderer.start();
|
||||
|
||||
TNTTracer_15.tracerCallback = tracerCallback;
|
||||
TNTTracer_15.tracerCallbackUpdatePoints = tracerCallbackUpdatePoints;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren