[1.14] Fix closing of replay not actually fully shutting down the world

This commit is contained in:
Jonas Herzig
2019-06-14 22:09:56 +02:00
parent 4dd02f8299
commit 1eafc3fadf
@@ -202,8 +202,12 @@ public class ReplayHandler {
}
if (mc.world != null) {
mc.world.disconnect();
mc.joinWorld(null);
//#if MC>=11400
mc.disconnect();
//#else
//$$ mc.world.sendQuittingDisconnectingPacket();
//$$ mc.loadWorld(null);
//#endif
}
TimerAccessor timer = (TimerAccessor) ((MinecraftAccessor) mc).getTimer();