From 2ecc92c4b38622faf173d89a75ec5d7ccb8e7b58 Mon Sep 17 00:00:00 2001 From: Lumien Date: Wed, 25 Nov 2015 20:43:53 +0100 Subject: [PATCH] Fixed: The Integrated Server not being stopped when exiting a singleplayer world to the main menu --- .../net/minecraft/server/MinecraftServer.java.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/server/MinecraftServer.java.patch b/patches/minecraft/net/minecraft/server/MinecraftServer.java.patch index d72ce626f..c8298d70a 100644 --- a/patches/minecraft/net/minecraft/server/MinecraftServer.java.patch +++ b/patches/minecraft/net/minecraft/server/MinecraftServer.java.patch @@ -147,7 +147,7 @@ catch (Throwable throwable1) { field_147145_h.error("Encountered an unexpected exception", throwable1); -@@ -535,6 +524,7 @@ +@@ -535,14 +524,15 @@ field_147145_h.error("We were unable to save this crash report to disk."); } @@ -155,6 +155,15 @@ this.func_71228_a(crashreport); } finally + { + try + { +- this.field_71316_v = true; + this.func_71260_j(); ++ this.field_71316_v = true; + } + catch (Throwable throwable) + { @@ -550,6 +540,8 @@ } finally