Fix playback once end has been reached on 1.8 (and some above)

This commit is contained in:
Jonas Herzig
2019-08-04 15:06:27 +02:00
parent 94d6e7cb4b
commit c7b0780111
2 changed files with 10 additions and 0 deletions

View File

@@ -175,6 +175,9 @@ public class ReplayHandler {
//#if MC>=11400
mc.disconnect();
//#else
//$$ // We need to re-set the GUI screen because having one with `allowsUserInput = true` active during world
//$$ // load (i.e. before player is set) will crash MC...
//$$ mc.displayGuiScreen(new GuiScreen() {});
//$$ mc.loadWorld(null);
//#endif