13
0
geforkt von Mirrors/Paper

Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273

Dieser Commit ist enthalten in:
EvilSeph 2012-03-22 16:58:13 -04:00
Ursprung c2cdeac09b
Commit f6bcaa6b0a

Datei anzeigen

@ -344,7 +344,6 @@ public class EntityBoat extends Entity {
drops.add(new CraftItemStack(Item.STICK.id,1)); drops.add(new CraftItemStack(Item.STICK.id,1));
} }
// CraftBukkit start // CraftBukkit start
drops.add(new CraftItemStack(Item.MINECART.id,1));
Vehicle vehicle = (Vehicle) this.getBukkitEntity(); Vehicle vehicle = (Vehicle) this.getBukkitEntity();
VehicleDestroyEvent destroyEvent = new VehicleDestroyEvent(vehicle, null, drops); VehicleDestroyEvent destroyEvent = new VehicleDestroyEvent(vehicle, null, drops);
this.world.getServer().getPluginManager().callEvent(destroyEvent); this.world.getServer().getPluginManager().callEvent(destroyEvent);