Change placement of ChunkDataEvent.Save call to apply before sending to worker thread.
This commit is contained in:
parent
8ab1e918f6
commit
f30f7cb4ab
1 changed files with 3 additions and 3 deletions
|
@ -17,11 +17,11 @@
|
|||
return chunk;
|
||||
}
|
||||
}
|
||||
@@ -123,6 +126,7 @@
|
||||
@@ -122,6 +125,7 @@
|
||||
NBTTagCompound nbttagcompound1 = new NBTTagCompound();
|
||||
nbttagcompound.setTag("Level", nbttagcompound1);
|
||||
this.writeChunkToNBT(par2Chunk, par1World, nbttagcompound1);
|
||||
this.func_75824_a(par2Chunk.getChunkCoordIntPair(), nbttagcompound);
|
||||
+ MinecraftForge.EVENT_BUS.post(new ChunkDataEvent.Save(par2Chunk, nbttagcompound));
|
||||
this.func_75824_a(par2Chunk.getChunkCoordIntPair(), nbttagcompound);
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue