Add dropped hunk from mid-tick tasks (#7034)

This commit is contained in:
Jake Potrebic
2021-12-05 13:58:01 -08:00
parent 69a15173ba
commit a271feefae
5 changed files with 25 additions and 24 deletions

View File

@@ -102,5 +102,5 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- gameprofilerfiller.pop();
+ // Paper - no, iterating just ONCE is expensive enough! Don't do it TWICE! Code moved up
gameprofilerfiller.pop();
// Paper start - controlled flush for entity tracker packets
List<net.minecraft.network.Connection> disabledFlushes = new java.util.ArrayList<>(this.level.players.size());
this.chunkMap.tick();
}