SteamWar/BauSystem2.0
Archiviert
12
0

Fixed clear nullpointer #249

Zusammengeführt
YoyoNow hat 1 Commits von tracer/fix-clear-nullpointer nach master 2024-05-04 15:53:22 +02:00 zusammengeführt

Datei anzeigen

@ -152,7 +152,7 @@ public class TraceManager implements Listener {
.keySet() .keySet()
.forEach(player -> { .forEach(player -> {
Set<Player> players = followerMap.getOrDefault(player, Collections.emptySet()); Set<Player> players = followerMap.getOrDefault(player, Collections.emptySet());
tracesByRegion.get(region).values().forEach(trace -> { tracesByRegion.getOrDefault(region, new HashMap<>()).values().forEach(trace -> {
trace.hide(player); trace.hide(player);
players.forEach(trace::hide); players.forEach(trace::hide);
}); });