Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273
Dieser Commit ist enthalten in:
Ursprung
c2cdeac09b
Commit
f6bcaa6b0a
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren