mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Change placement of ChunkDataEvent.Save call to apply before sending to worker thread.
This commit is contained in:
1 parent
8ab1e918f6
commit
f30f7cb4ab
1 file changed
+3
-3
@@ -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)
|
||||
{
|
||||
Reference in new issue
Block a user