add back EntityPortalExitEvent

Was removed here: a2d787f6eb
This commit is contained in:
Jake Potrebic 2021-05-12 02:49:28 -07:00
parent 34f10b78da
commit 9550762612

View file

@ -11,6 +11,9 @@ import org.jetbrains.annotations.NotNull;
* <p> * <p>
* This event allows you to modify the velocity of the entity after they have * This event allows you to modify the velocity of the entity after they have
* successfully exited the portal. * successfully exited the portal.
* <p>
* Cancelling this event does not prevent the teleport, but it does prevent
* any changes to velocity and location from taking place.
*/ */
public class EntityPortalExitEvent extends EntityTeleportEvent { public class EntityPortalExitEvent extends EntityTeleportEvent {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();