Tracer-entity #147
@ -43,13 +43,8 @@ public class Recorder implements Listener {
|
|||||||
|
|
||||||
Recorder() {
|
Recorder() {
|
||||||
Bukkit.getPluginManager().registerEvents(this, BauSystem.getPlugin());
|
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();
|
record = new Record();
|
||||||
|
|
||||||
// To trace TNT initial positions with AutoTracer
|
|
||||||
if (RecordStateMachine.getRecordStatus() == RecordStatus.IDLE_AUTO) {
|
|
||||||
run();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void stopRecording() {
|
void stopRecording() {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren