diff --git a/BauSystem_15/src/de/steamwar/bausystem/tracer/TNTTracer_15.java b/BauSystem_15/src/de/steamwar/bausystem/tracer/TNTTracer_15.java index 95911bf..de72554 100644 --- a/BauSystem_15/src/de/steamwar/bausystem/tracer/TNTTracer_15.java +++ b/BauSystem_15/src/de/steamwar/bausystem/tracer/TNTTracer_15.java @@ -97,7 +97,7 @@ class TNTTracer_15 { } private static void updateShowPlayer(Player p, PlayerTraceCache_15 traceCache) { - if (!tntCallbackCacheUpdate.run(p) && traceCache.nearLastLocation(p)) { + if (!tntCallbackCacheUpdate.run(p)) { update(p, traceCache); } traceCache.show(p, tntCallbackShow.run(p)); @@ -106,7 +106,7 @@ class TNTTracer_15 { private static float[] noValue = new float[0]; private static void update(Player p, PlayerTraceCache_15 traceCache) { - if (tracerCallbackTracing.run(p)) { + if (!tracerCallbackTracing.run(p) && traceCache.nearLastLocation(p)) { return; } diff --git a/BauSystem_API/src/de/steamwar/bausystem/tracer/updatecallback/TracerUpdateManager.java b/BauSystem_API/src/de/steamwar/bausystem/tracer/updatecallback/TracerUpdateManager.java new file mode 100644 index 0000000..223249c --- /dev/null +++ b/BauSystem_API/src/de/steamwar/bausystem/tracer/updatecallback/TracerUpdateManager.java @@ -0,0 +1,9 @@ +package de.steamwar.bausystem.tracer.updatecallback; + +public class TracerUpdateManager { + + public TracerUpdateManager() { + + } + +}