[ci skip] Add more patch identifying comments
This commit is contained in:
@@ -148,7 +148,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
T livingEntity = null;
|
||||
|
||||
for(T livingEntity2 : entityList) {
|
||||
+ // Paper start - move up
|
||||
+ // Paper start - optimise nearby player retrieval; move up
|
||||
+ // don't check entities outside closest range
|
||||
+ double e = livingEntity2.distanceToSqr(x, y, z);
|
||||
+ if (d == -1.0D || e < d) {
|
||||
@@ -156,7 +156,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
if (targetPredicate.test(entity, livingEntity2)) {
|
||||
- double e = livingEntity2.distanceToSqr(x, y, z);
|
||||
- if (d == -1.0D || e < d) {
|
||||
+ // Paper - move up
|
||||
+ // Paper - optimise nearby player retrieval; move up
|
||||
d = e;
|
||||
livingEntity = livingEntity2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user