Fixed WorldInfo properties not loaded

This commit is contained in:
Zot201 2015-03-05 03:21:19 +09:00
parent ccffcf60f8
commit 189619fcdd
1 changed files with 2 additions and 1 deletions

View File

@ -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)
+ {