Merge pull request #610 from Zot201/1.8
Fixed WorldInfo properties not loaded
This commit is contained in:
commit
4d4f82816f
1 changed files with 2 additions and 1 deletions
|
@ -12,9 +12,10 @@
|
||||||
{
|
{
|
||||||
nbttagcompound = CompressedStreamTools.func_74796_a(new FileInputStream(file1));
|
nbttagcompound = CompressedStreamTools.func_74796_a(new FileInputStream(file1));
|
||||||
nbttagcompound1 = nbttagcompound.func_74775_l("Data");
|
nbttagcompound1 = nbttagcompound.func_74775_l("Data");
|
||||||
|
- return new WorldInfo(nbttagcompound1);
|
||||||
+ worldInfo = new WorldInfo(nbttagcompound1);
|
+ worldInfo = new WorldInfo(nbttagcompound1);
|
||||||
+ net.minecraftforge.fml.common.FMLCommonHandler.instance().handleWorldDataLoad(this, worldInfo, nbttagcompound);
|
+ net.minecraftforge.fml.common.FMLCommonHandler.instance().handleWorldDataLoad(this, worldInfo, nbttagcompound);
|
||||||
return new WorldInfo(nbttagcompound1);
|
+ return worldInfo;
|
||||||
}
|
}
|
||||||
+ catch (net.minecraftforge.fml.common.StartupQuery.AbortedException e)
|
+ catch (net.minecraftforge.fml.common.StartupQuery.AbortedException e)
|
||||||
+ {
|
+ {
|
||||||
|
|
Loading…
Reference in a new issue