From f6bcaa6b0ae7c2e8993d4391763db1c6c5bc8f6b Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 22 Mar 2012 16:58:13 -0400 Subject: [PATCH] Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273 --- src/main/java/net/minecraft/server/EntityBoat.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java index efc4f9cc1c..57c9e15feb 100644 --- a/src/main/java/net/minecraft/server/EntityBoat.java +++ b/src/main/java/net/minecraft/server/EntityBoat.java @@ -344,7 +344,6 @@ public class EntityBoat extends Entity { drops.add(new CraftItemStack(Item.STICK.id,1)); } // CraftBukkit start - drops.add(new CraftItemStack(Item.MINECART.id,1)); Vehicle vehicle = (Vehicle) this.getBukkitEntity(); VehicleDestroyEvent destroyEvent = new VehicleDestroyEvent(vehicle, null, drops); this.world.getServer().getPluginManager().callEvent(destroyEvent);