[1.14] Fix closing of replay not actually fully shutting down the world
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user