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

This commit is contained in:
Jonas Herzig
2019-06-14 18:19:08 +02:00
parent 4dd02f8299
commit 1eafc3fadf

View File

@@ -202,8 +202,12 @@ public class ReplayHandler {
} }
if (mc.world != null) { if (mc.world != null) {
mc.world.disconnect(); //#if MC>=11400
mc.joinWorld(null); mc.disconnect();
//#else
//$$ mc.world.sendQuittingDisconnectingPacket();
//$$ mc.loadWorld(null);
//#endif
} }
TimerAccessor timer = (TimerAccessor) ((MinecraftAccessor) mc).getTimer(); TimerAccessor timer = (TimerAccessor) ((MinecraftAccessor) mc).getTimer();