Prevent jumping while path is playing (closes #694)
This commit is contained in:
@@ -534,6 +534,10 @@ public class ReplayHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void doJump(int targetTime, boolean retainCameraPosition) {
|
public void doJump(int targetTime, boolean retainCameraPosition) {
|
||||||
|
if (!getReplaySender().isAsyncMode()) {
|
||||||
|
return; // path playback, rendering, etc. -> no jumping allowed
|
||||||
|
}
|
||||||
|
|
||||||
//#if MC>=10904
|
//#if MC>=10904
|
||||||
if (getReplaySender() == quickReplaySender) {
|
if (getReplaySender() == quickReplaySender) {
|
||||||
// Always round to full tick
|
// Always round to full tick
|
||||||
|
|||||||
Reference in New Issue
Block a user