From af98088d04186452cb364280340124dfd4766a5c Mon Sep 17 00:00:00 2001 From: Jack Taylor Date: Sun, 17 Feb 2019 21:15:35 +1300 Subject: [PATCH] Fix World crashing on load Fixes #5499 (#5503) --- .../net/minecraft/world/dimension/DimensionType.java.patch | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/dimension/DimensionType.java.patch b/patches/minecraft/net/minecraft/world/dimension/DimensionType.java.patch index 643d960c7..fbe77be94 100644 --- a/patches/minecraft/net/minecraft/world/dimension/DimensionType.java.patch +++ b/patches/minecraft/net/minecraft/world/dimension/DimensionType.java.patch @@ -52,7 +52,7 @@ } public File func_212679_a(File p_212679_1_) { -@@ -47,7 +59,7 @@ +@@ -47,11 +59,11 @@ } public Dimension func_186070_d() { @@ -61,6 +61,11 @@ } public String toString() { +- return func_212678_a(this).toString(); ++ return "DimensionType{" + func_212678_a(this) + "}"; + } + + @Nullable @@ -59,7 +71,21 @@ return IRegistry.field_212622_k.func_148754_a(p_186069_0_ - -1); }