mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
This commit is contained in:
parent
6984fc4f83
commit
342194e390
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…
Add table
Reference in a new issue