From b04e7cb3a819113ae4641695e385bc9eca63992a Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Tue, 1 Mar 2016 14:47:13 +1100
Subject: [PATCH] SPIGOT-1546: Use isPassenger, not misleading getVehicle

---
 CraftBukkit-Patches/0014-Entity-Activation-Range.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CraftBukkit-Patches/0014-Entity-Activation-Range.patch b/CraftBukkit-Patches/0014-Entity-Activation-Range.patch
index fe8a476590..0c3258a36a 100644
--- a/CraftBukkit-Patches/0014-Entity-Activation-Range.patch
+++ b/CraftBukkit-Patches/0014-Entity-Activation-Range.patch
@@ -427,7 +427,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +        }
 +        if ( !( entity instanceof EntityArrow ) )
 +        {
-+            if ( !entity.onGround || !entity.passengers.isEmpty() || entity.getVehicle()!= null )
++            if ( !entity.onGround || !entity.passengers.isEmpty() || entity.isPassenger() )
 +            {
 +                return true;
 +            }