SPIGOT-5801: End gateways crash server upon enderpearl use through them
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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;
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user