Port patches from folia dev/optimisations
This commit is contained in:
parent
52a9b1c91e
commit
15183b44de
8 changed files with 5298 additions and 2154 deletions
|
@ -101,4 +101,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ // Paper end
|
||||
// Paper start - optimise out extra getCubes
|
||||
private boolean hasNewCollision(final ServerLevel world, final Entity entity, final AABB oldBox, final AABB newBox) {
|
||||
final List<AABB> collisions = io.papermc.paper.util.CachedLists.getTempCollisionList();
|
||||
final List<AABB> collisionsBB = new java.util.ArrayList<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue