diff --git a/CraftBukkit-Patches/0033-Entity-Mount-and-Dismount-Events.patch b/CraftBukkit-Patches/0033-Entity-Mount-and-Dismount-Events.patch index 7dc7bfc9f7..50ac33433d 100644 --- a/CraftBukkit-Patches/0033-Entity-Mount-and-Dismount-Events.patch +++ b/CraftBukkit-Patches/0033-Entity-Mount-and-Dismount-Events.patch @@ -35,4 +35,16 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 if (this.vehicle != null) { this.vehicle.passenger = null; } +diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/EntityLiving.java ++++ b/src/main/java/net/minecraft/server/EntityLiving.java +@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity { + } + } + // CraftBukkit end ++ org.bukkit.Bukkit.getPluginManager().callEvent( new org.spigotmc.event.entity.EntityDismountEvent( this.getBukkitEntity(), this.vehicle.getBukkitEntity() ) ); // Spigot + + if (!this.world.isClientSide) { + this.q(this.vehicle); -- \ No newline at end of file