diff options
author | Aikar <[email protected]> | 2019-02-28 02:44:47 -0500 |
---|---|---|
committer | Aikar <[email protected]> | 2019-02-28 02:44:47 -0500 |
commit | 4ba151e59dc719d372eefa2030d3c7ab579f6012 (patch) | |
tree | 76de8009b7e2878d2517caa7eb3c79244ad014f0 | |
parent | 087a5e99b81efda8a0ad7c740827f0bba6032f54 (diff) | |
download | Paper-4ba151e59dc719d372eefa2030d3c7ab579f6012.tar.gz Paper-4ba151e59dc719d372eefa2030d3c7ab579f6012.zip |
Fix incorrect check on vehicle for auto dismount
This fixes an issue where players are dismounted from their horse on logout.
-rw-r--r-- | Spigot-Server-Patches/0372-Fix-an-issue-where-the-vehicle-doesn-t-track-the-pas.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Spigot-Server-Patches/0372-Fix-an-issue-where-the-vehicle-doesn-t-track-the-pas.patch b/Spigot-Server-Patches/0372-Fix-an-issue-where-the-vehicle-doesn-t-track-the-pas.patch index 177f90a28d..545437a8ee 100644 --- a/Spigot-Server-Patches/0372-Fix-an-issue-where-the-vehicle-doesn-t-track-the-pas.patch +++ b/Spigot-Server-Patches/0372-Fix-an-issue-where-the-vehicle-doesn-t-track-the-pas.patch @@ -27,7 +27,7 @@ index 6afb6cf7b..c1a2ddcf5 100644 this.ejectPassengers(); + + // Paper start - "Fixes" an issue where the vehicle doesn't track the passenger disconnection dismount. -+ if (this.isPassenger() && this.getVehicleDirect() instanceof EntityLiving) { ++ if (this.isPassenger() && this.getVehicleDirect() instanceof EntityPlayer) { + this.stopRiding(); + } + // Paper end |