Fix Trace show/hide Bug
Dieser Commit ist enthalten in:
Ursprung
5967592ced
Commit
423ec69996
@ -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;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,9 @@
|
||||
package de.steamwar.bausystem.tracer.updatecallback;
|
||||
|
||||
public class TracerUpdateManager {
|
||||
|
||||
public TracerUpdateManager() {
|
||||
|
||||
}
|
||||
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren