mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 12:12:08 -07:00
SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
This commit is contained in:
@@ -398,7 +398,7 @@
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ exit = event.getTo();
|
||||
+ exit = tpEvent.getTo();
|
||||
+ if (exit == null) {
|
||||
+ return null;
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user