diff --git a/paper-server/patches/sources/net/minecraft/server/level/ServerEntity.java.patch b/paper-server/patches/sources/net/minecraft/server/level/ServerEntity.java.patch index 2432be13bf..473ae64df2 100644 --- a/paper-server/patches/sources/net/minecraft/server/level/ServerEntity.java.patch +++ b/paper-server/patches/sources/net/minecraft/server/level/ServerEntity.java.patch @@ -22,7 +22,13 @@ public class ServerEntity { private static final Logger LOGGER = LogUtils.getLogger(); -@@ -74,13 +80,17 @@ +@@ -69,18 +75,22 @@ + private Vec3 lastSentMovement; + private int tickCount; + private int teleportDelay; +- private List lastPassengers = Collections.emptyList(); ++ private List lastPassengers = com.google.common.collect.ImmutableList.of(); // Paper - optimize passenger checks + private boolean wasRiding; private boolean wasOnGround; @Nullable private List> trackedDataValues;