summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityEnderPearl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityEnderPearl.patch')
-rw-r--r--nms-patches/EntityEnderPearl.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityEnderPearl.patch b/nms-patches/EntityEnderPearl.patch
index 7e5dfe53..62cc9bf6 100644
--- a/nms-patches/EntityEnderPearl.patch
+++ b/nms-patches/EntityEnderPearl.patch
@@ -12,7 +12,7 @@
public class EntityEnderPearl extends EntityProjectile {
private EntityLiving d;
-@@ -51,21 +57,35 @@
+@@ -55,21 +61,35 @@
EntityPlayer entityplayer = (EntityPlayer) entityliving;
if (entityplayer.playerConnection.a().isConnected() && entityplayer.world == this.world && !entityplayer.isSleeping()) {
@@ -52,7 +52,7 @@
}
-
- if (entityliving.isPassenger()) {
-- this.stopRiding();
+- entityliving.stopRiding();
- }
-
- entityliving.enderTeleportTo(this.locX, this.locY, this.locZ);