mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
SPIGOT-5801: End gateways crash server upon enderpearl use through them
By: md_5 <git@md-5.net>
This commit is contained in:
parent
bafa4625d1
commit
e7046d2ae1
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ ((EntityPlayer) entity).playerConnection.teleport(teleEvent.getTo());
|
||||
+ ((EntityPlayer) entity1).playerConnection.teleport(teleEvent.getTo());
|
||||
+ this.h(); // CraftBukkit - call at end of method
|
||||
+ return;
|
||||
+
|
||||
|
|
Loading…
Add table
Reference in a new issue