mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
By: md_5 <git@md-5.net>
This commit is contained in:
parent
817d83e1bb
commit
26041887a6
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@
|
|||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ exit = event.getTo();
|
||||
+ exit = tpEvent.getTo();
|
||||
+ if (exit == null) {
|
||||
+ return null;
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue