TNTTracer #84
@ -97,7 +97,7 @@ class TNTTracer_15 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void updateShowPlayer(Player p, PlayerTraceCache_15 traceCache) {
|
private static void updateShowPlayer(Player p, PlayerTraceCache_15 traceCache) {
|
||||||
if (!tntCallbackCacheUpdate.run(p) && traceCache.nearLastLocation(p)) {
|
if (!tntCallbackCacheUpdate.run(p)) {
|
||||||
update(p, traceCache);
|
update(p, traceCache);
|
||||||
}
|
}
|
||||||
traceCache.show(p, tntCallbackShow.run(p));
|
traceCache.show(p, tntCallbackShow.run(p));
|
||||||
@ -106,7 +106,7 @@ class TNTTracer_15 {
|
|||||||
private static float[] noValue = new float[0];
|
private static float[] noValue = new float[0];
|
||||||
|
|
||||||
private static void update(Player p, PlayerTraceCache_15 traceCache) {
|
private static void update(Player p, PlayerTraceCache_15 traceCache) {
|
||||||
if (tracerCallbackTracing.run(p)) {
|
if (!tracerCallbackTracing.run(p) && traceCache.nearLastLocation(p)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
package de.steamwar.bausystem.tracer.updatecallback;
|
||||||
|
|
||||||
|
public class TracerUpdateManager {
|
||||||
|
|
||||||
|
public TracerUpdateManager() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
In neuem Issue referenzieren
Einen Benutzer sperren