[1.14] Fix recording not always being stopped
This commit is contained in:
@@ -7,8 +7,11 @@ import com.replaymod.replay.camera.CameraEntity;
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.render.RenderTickCounter;
|
||||
|
||||
//#if MC>=11400
|
||||
import com.replaymod.core.ReplayMod;
|
||||
//#endif
|
||||
|
||||
//#if MC>=11300
|
||||
import com.replaymod.core.versions.MCVer;
|
||||
import org.lwjgl.glfw.GLFW;
|
||||
//#else
|
||||
//$$ import net.minecraft.client.settings.KeyBinding;
|
||||
@@ -57,6 +60,10 @@ public class InputReplayTimer extends WrappedTimer {
|
||||
//$$ FML_BUS.post(new RunScheduledTasks());
|
||||
//#endif
|
||||
|
||||
//#if MC>=11400
|
||||
ReplayMod.instance.executor.executeTaskQueue();
|
||||
//#endif
|
||||
|
||||
// If we are in a replay, we have to manually process key and mouse events as the
|
||||
// tick speed may vary or there may not be any ticks at all (when the replay is paused)
|
||||
if (mod.getReplayHandler() != null) {
|
||||
|
||||
Reference in New Issue
Block a user