You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
840 B
26 lines
840 B
--- ../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; |
|
@@ -2655,7 +2656,14 @@ |
|
|
|
if (integratedserver != null) |
|
{ |
|
- integratedserver.stopServer(); |
|
+ try |
|
+ { |
|
+ integratedserver.stopServer(); |
|
+ } |
|
+ catch (MinecraftException e) |
|
+ { |
|
+ e.printStackTrace(); |
|
+ } |
|
} |
|
} |
|
}
|
|
|