mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 17:07:34 +01:00
bfb3d42b44
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). |
||
---|---|---|
.. | ||
api | ||
removed | ||
server |