mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-05 01:10:19 -05:00
SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
This commit is contained in:
1 parent
6984fc4f83
commit
342194e390
1 file changed
+1
-1
@@ -398,7 +398,7 @@
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ exit = event.getTo();
|
||||
+ exit = tpEvent.getTo();
|
||||
+ if (exit == null) {
|
||||
+ return null;
|
||||
+ }
|
||||
|
||||
Reference in new issue
Block a user