PaperMC/paper-server/patches/sources/net
Aikar 5764c71185 Disable Scoreboards for non players by default
Entities collision is checking for scoreboards setting.
This is very heavy to do map lookups for every collision to check
this setting.

So avoid looking up scoreboards and short circuit to the "not on a team"
logic which is most likely to be true.
2016-03-08 23:25:45 -05:00
..
minecraft Disable Scoreboards for non players by default 2016-03-08 23:25:45 -05:00