mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-23 01:17:44 +01:00
SPIGOT-5801: End gateways crash server upon enderpearl use through them
This commit is contained in:
parent
2b00831c95
commit
ab3875418c
@ -30,7 +30,7 @@
|
|||||||
+ return;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ ((EntityPlayer) entity).playerConnection.teleport(teleEvent.getTo());
|
+ ((EntityPlayer) entity1).playerConnection.teleport(teleEvent.getTo());
|
||||||
+ this.h(); // CraftBukkit - call at end of method
|
+ this.h(); // CraftBukkit - call at end of method
|
||||||
+ return;
|
+ return;
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user