Optimize chunk saving time by holding block updates in chunks directly (fix #299)
This commit is contained in:
@ -133,6 +133,15 @@
|
||||
}
|
||||
|
||||
nbttaglist.appendTag(nbttagcompound1);
|
||||
@@ -379,7 +400,7 @@
|
||||
}
|
||||
|
||||
p_75820_3_.setTag("TileEntities", nbttaglist3);
|
||||
- List list = p_75820_2_.getPendingBlockUpdates(p_75820_1_, false);
|
||||
+ Set list = p_75820_1_.blockUpdates;
|
||||
|
||||
if (list != null)
|
||||
{
|
||||
@@ -455,6 +476,7 @@
|
||||
|
||||
public void loadEntities(World p_75823_1_, NBTTagCompound p_75823_2_, Chunk chunk)
|
||||
|
Reference in New Issue
Block a user