diff options
Diffstat (limited to 'patches/server/0580-Optimize-indirect-passenger-iteration.patch')
-rw-r--r-- | patches/server/0580-Optimize-indirect-passenger-iteration.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0580-Optimize-indirect-passenger-iteration.patch b/patches/server/0580-Optimize-indirect-passenger-iteration.patch index 5f05159ded..8f1a5a8cfb 100644 --- a/patches/server/0580-Optimize-indirect-passenger-iteration.patch +++ b/patches/server/0580-Optimize-indirect-passenger-iteration.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Optimize indirect passenger iteration diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 64e0dafe15bbf8e0f5892337df69063982a9d82a..5223379e5c11c978fd85bd05ef9451aa2ddc2aa3 100644 +index 317115dd54252e882575aa04dbfb3f977ba3df60..567c1d741628fcafca02fc06922ad6d77fa823ff 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java -@@ -3891,20 +3891,34 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess +@@ -3890,20 +3890,34 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess } private Stream<Entity> getIndirectPassengersStream() { @@ -43,7 +43,7 @@ index 64e0dafe15bbf8e0f5892337df69063982a9d82a..5223379e5c11c978fd85bd05ef9451aa return () -> { return this.getIndirectPassengersStream().iterator(); }; -@@ -3917,6 +3931,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess +@@ -3916,6 +3930,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess } public boolean hasExactlyOnePlayerPassenger() { |