1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-02 11:22:01 +01:00
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Jake Potrebic 15fcde4b3c Fix NPE on null loc for EntityTeleportEvent
EntityTeleportEvent#setTo is marked as nullable and so is the
getTo method. This fixes the handling of a null "to" location
by treating it the same as the event being cancelled. This is
already existing behavior for the EntityPortalEvent (which
extends EntityTeleportEvent).
2023-12-09 19:15:59 -08:00
paper-server Fix NPE on null loc for EntityTeleportEvent 2023-12-09 19:15:59 -08:00