Files
paper-mc/paper-server/patches/sources/net/minecraft/server
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
..
2022-12-14 15:52:11 -08:00
2020-10-03 08:27:40 +02:00
2023-06-27 21:09:11 -04:00
2022-12-14 15:52:11 -08:00
2017-08-06 17:17:53 -05:00