SPIGOT-5801: End gateways crash server upon enderpearl use through them

This commit is contained in:
md_5 2020-06-25 12:16:41 +10:00
parent 2b00831c95
commit ab3875418c
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -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;
+