tracer/bug-354-Fix-smaller-trace-issues #242
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren