diff --git a/patches/api/0270-EntityMoveEvent.patch b/patches/api/0270-EntityMoveEvent.patch index 0f5a4c5a8..487e39bef 100644 --- a/patches/api/0270-EntityMoveEvent.patch +++ b/patches/api/0270-EntityMoveEvent.patch @@ -6,10 +6,10 @@ Subject: [PATCH] EntityMoveEvent diff --git a/src/main/java/io/papermc/paper/event/entity/EntityMoveEvent.java b/src/main/java/io/papermc/paper/event/entity/EntityMoveEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..fae0b1daf733e85d8f691f5ef934b8c0b51db194 +index 0000000000000000000000000000000000000000..9704bfa38cf535a247d7b661e5132ba82c836832 --- /dev/null +++ b/src/main/java/io/papermc/paper/event/entity/EntityMoveEvent.java -@@ -0,0 +1,140 @@ +@@ -0,0 +1,143 @@ +package io.papermc.paper.event.entity; + +import com.google.common.base.Preconditions; @@ -18,10 +18,13 @@ index 0000000000000000000000000000000000000000..fae0b1daf733e85d8f691f5ef934b8c0 +import org.bukkit.event.Cancellable; +import org.bukkit.event.HandlerList; +import org.bukkit.event.entity.EntityEvent; ++import org.bukkit.event.player.PlayerMoveEvent; +import org.jetbrains.annotations.NotNull; + +/** + * Holds information for living entity movement events ++ *

++ * Does not fire for players; use {@link PlayerMoveEvent} for player movement. + */ +public class EntityMoveEvent extends EntityEvent implements Cancellable { + private static final HandlerList handlers = new HandlerList();