fix -1 pos delay
This commit is contained in:
parent
96c4ce4b9d
commit
629a44a27a
@ -108,6 +108,7 @@ public class RepeatingMod implements ClientModInitializer {
|
||||
menu.update_btns();
|
||||
record.clear();
|
||||
|
||||
if (record_pos_delay != -1) {
|
||||
move_tick = new Thread(() -> {
|
||||
while (is_recording) {
|
||||
record.add(new RecordMoveEvent(client.player.getPos(),
|
||||
@ -120,6 +121,7 @@ public class RepeatingMod implements ClientModInitializer {
|
||||
}
|
||||
});
|
||||
move_tick.start();
|
||||
}
|
||||
|
||||
sendMessage(Text.translatable("message.repeating-mod.record_start"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user