From 2a796d710f7eda70f562a193235481be23748b4d Mon Sep 17 00:00:00 2001 From: jojo Date: Fri, 25 Dec 2020 22:35:35 +0100 Subject: [PATCH] Add Recorder record first position --- .../src/de/steamwar/bausystem/tracer/record/Recorder.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/tracer/record/Recorder.java b/BauSystem_Main/src/de/steamwar/bausystem/tracer/record/Recorder.java index ea0252e..25fb60a 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/tracer/record/Recorder.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/tracer/record/Recorder.java @@ -43,13 +43,8 @@ public class Recorder implements Listener { Recorder() { Bukkit.getPluginManager().registerEvents(this, BauSystem.getPlugin()); - task = Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), this::run, 1, 1); + task = Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), this::run, 0, 1); record = new Record(); - - // To trace TNT initial positions with AutoTracer - if (RecordStateMachine.getRecordStatus() == RecordStatus.IDLE_AUTO) { - run(); - } } void stopRecording() {