diff --git a/patches/api/More-Teleport-API.patch b/patches/api/More-Teleport-API.patch index b4fdf8bfc9..47fc173f18 100644 --- a/patches/api/More-Teleport-API.patch +++ b/patches/api/More-Teleport-API.patch @@ -57,7 +57,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + /** + * Note: These flags only work on {@link org.bukkit.entity.Player} entities. + * <p> -+ * Relative flags enable a player to not loose their velocity in the flag-specific axis/context when teleporting. ++ * Relative flags enable a player to not lose their velocity in the flag-specific axis/context when teleporting. + * + * @apiNote The relative flags exposed in the API do *not* mirror all flags known to vanilla, as relative flags concerning + * the position are non-applicable given teleports always expect an absolute location. @@ -65,19 +65,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + */ + enum Relative implements TeleportFlag { + /** -+ * Configures the player to not loose velocity in their x axis during the teleport. ++ * Configures the player to not lose velocity in their x axis during the teleport. + */ + VELOCITY_X, + /** -+ * Configures the player to not loose velocity in their y axis during the teleport. ++ * Configures the player to not lose velocity in their y axis during the teleport. + */ + VELOCITY_Y, + /** -+ * Configures the player to not loose velocity in their z axis during the teleport. ++ * Configures the player to not lose velocity in their z axis during the teleport. + */ + VELOCITY_Z, + /** -+ * Configures the player to not loose velocity in their current rotation during the teleport. ++ * Configures the player to not lose velocity in their current rotation during the teleport. + */ + VELOCITY_ROTATION; + /** diff --git a/patches/server/Only-erase-allay-memory-on-non-item-targets.patch b/patches/server/Only-erase-allay-memory-on-non-item-targets.patch index b5f09f65c1..47da7c67e6 100644 --- a/patches/server/Only-erase-allay-memory-on-non-item-targets.patch +++ b/patches/server/Only-erase-allay-memory-on-non-item-targets.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Only erase allay memory on non-item targets Spigot incorrectly instanceOf checks the EntityTargetEvent#getTarget against the internal ItemEntity type and removes the nearest wanted item memory if said instanceOf check fails, (which is always the case) -causing allays to behave differently as they constantly loose their +causing allays to behave differently as they constantly lose their target item. This commit fixes the faulty behaviour by instance performing a check