mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273
This commit is contained in:
1 parent
c2cdeac09b
commit
f6bcaa6b0a
1 file changed
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user