Prevent jumping while path is playing (closes #694)

This commit is contained in:
Jonas Herzig
2022-03-05 11:37:36 +01:00
parent 0356fef61d
commit 8573a9b208

View File

@@ -534,6 +534,10 @@ public class ReplayHandler {
}
public void doJump(int targetTime, boolean retainCameraPosition) {
if (!getReplaySender().isAsyncMode()) {
return; // path playback, rendering, etc. -> no jumping allowed
}
//#if MC>=10904
if (getReplaySender() == quickReplaySender) {
// Always round to full tick