1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-23 21:20:42 +01:00
Commit graph

3 commits

Author SHA1 Message Date
Jake Potrebic
dbeda4c036 and yet again, more patches 2021-11-24 15:46:26 -08:00
Jason Penilla
ed6d43ddb0 Prepare for updating server patches 2021-11-23 00:57:41 -08:00
Andrew Steinborn
3a2986e746 Optimize entity tracker passenger checks ()
When a ServerEntity instance is first constructed, it uses a pre-Java 9 empty collection,
but passengers use Guava ImmutableList. When comparing the two collections via Object#equals
we miss out on an opportunity to reduce the check to little more than a reference equality
check (which is very fast).
2021-08-09 18:36:45 +00:00