1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/client/Minecraft.java.patch

27 lines
840 B
Diff
Raw Normal View History

2015-03-22 17:38:04 +00:00
--- ../src-base/minecraft/net/minecraft/client/Minecraft.java
+++ ../src-work/minecraft/net/minecraft/client/Minecraft.java
@@ -148,6 +148,7 @@
import net.minecraft.util.Timer;
import net.minecraft.util.Util;
import net.minecraft.world.EnumDifficulty;
+import net.minecraft.world.MinecraftException;
import net.minecraft.world.WorldProviderEnd;
import net.minecraft.world.WorldProviderHell;
import net.minecraft.world.WorldSettings;
@@ -2644,7 +2645,14 @@
if (integratedserver != null)
{
- integratedserver.stopServer();
+ try
+ {
+ integratedserver.stopServer();
+ }
+ catch (MinecraftException e)
+ {
+ e.printStackTrace();
+ }
}
}
}