From 189619fcddb29b3ab467ec7bc3995556b02d1415 Mon Sep 17 00:00:00 2001 From: Zot201 Date: Thu, 5 Mar 2015 03:21:19 +0900 Subject: [PATCH] Fixed WorldInfo properties not loaded --- .../net/minecraft/world/storage/SaveHandler.java.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fml/patches/minecraft/net/minecraft/world/storage/SaveHandler.java.patch b/fml/patches/minecraft/net/minecraft/world/storage/SaveHandler.java.patch index a8f9313fd..72a4b5be6 100644 --- a/fml/patches/minecraft/net/minecraft/world/storage/SaveHandler.java.patch +++ b/fml/patches/minecraft/net/minecraft/world/storage/SaveHandler.java.patch @@ -12,9 +12,10 @@ { nbttagcompound = CompressedStreamTools.func_74796_a(new FileInputStream(file1)); nbttagcompound1 = nbttagcompound.func_74775_l("Data"); +- return new WorldInfo(nbttagcompound1); + worldInfo = new WorldInfo(nbttagcompound1); + net.minecraftforge.fml.common.FMLCommonHandler.instance().handleWorldDataLoad(this, worldInfo, nbttagcompound); - return new WorldInfo(nbttagcompound1); ++ return worldInfo; } + catch (net.minecraftforge.fml.common.StartupQuery.AbortedException e) + {