From 342194e390eb4276d268d7c68b1e61f569f4b742 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 21 May 2019 21:04:45 +1000 Subject: [PATCH] SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports --- nms-patches/EntityPlayer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index cff6a76e20..7f65c99380 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -398,7 +398,7 @@ + return null; + } + -+ exit = event.getTo(); ++ exit = tpEvent.getTo(); + if (exit == null) { + return null; + }