[1.7.10] Fix dead lock and NPE when jumping backwards in replays

The deadlock is a regression due to login phase inclusion.
Not sure about the NPE, it might have always existed.
This commit is contained in:
Jonas Herzig
2019-06-14 14:53:23 +02:00
parent c72392fb62
commit 2a08c11598
3 changed files with 37 additions and 0 deletions

View File

@@ -642,6 +642,12 @@ public class ReplayHandler {
replaySender.setAsyncMode(true);
replaySender.setReplaySpeed(0);
//#if MC<10800
//$$ while (mc.currentScreen instanceof GuiOpeningReplay) {
//$$ mc.currentScreen.handleInput();
//$$ }
//#endif
mc.getNetworkHandler().getClientConnection()
//#if MC>=11300
.tick();