SteamWar/BauSystem2.0
Archiviert
12
0

tracer/bug-354-Fix-smaller-trace-issues #242

Zusammengeführt
YoyoNow hat 9 Commits von tracer/bug-354-Fix-smaller-trace-issues nach master 2024-04-28 12:15:18 +02:00 zusammengeführt
Nur Änderungen aus Commit add259788d werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -57,11 +57,13 @@ public class TraceCommand extends SWCommand {
public void stop(@Validator Player player) { public void stop(@Validator Player player) {
Region region = Region.getRegion(player.getLocation()); Region region = Region.getRegion(player.getLocation());
TraceRecorder.instance.stopRecording(region); TraceRecorder.instance.stopRecording(region);
BauSystem.MESSAGE.send("TRACE_MESSAGE_STOP", player);
if (TraceRecorder.instance.isAutoTraceEnabledInRegion(region)) { if (TraceRecorder.instance.isAutoTraceEnabledInRegion(region)) {
TraceRecorder.instance.removeAutoTraceRegion(region); TraceRecorder.instance.removeAutoTraceRegion(region);
BauSystem.MESSAGE.send("TRACE_MESSAGE_AUTO_STOP", player); BauSystem.MESSAGE.send("TRACE_MESSAGE_AUTO_STOP", player);
} else {
BauSystem.MESSAGE.send("TRACE_MESSAGE_STOP", player);
} }
} }