From ab3875418c849cfa2ca532c8c0d35e2d092d699c Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 25 Jun 2020 12:16:41 +1000 Subject: [PATCH] SPIGOT-5801: End gateways crash server upon enderpearl use through them --- nms-patches/TileEntityEndGateway.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/TileEntityEndGateway.patch b/nms-patches/TileEntityEndGateway.patch index cc1cb695ec..2f1b789532 100644 --- a/nms-patches/TileEntityEndGateway.patch +++ b/nms-patches/TileEntityEndGateway.patch @@ -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; +