SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports

This commit is contained in:
md_5 2019-05-21 21:04:45 +10:00
parent 6984fc4f83
commit 342194e390

View File

@ -398,7 +398,7 @@
+ return null;
+ }
+
+ exit = event.getTo();
+ exit = tpEvent.getTo();
+ if (exit == null) {
+ return null;
+ }