1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 18:47:40 +01:00

Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-01-30 20:24:36 +00:00
parent 0ab994ec78
commit 8ea6bf1889

View file

@ -16,15 +16,6 @@ public class EntityDeathEvent extends EntityEvent {
this.drops = drops;
}
/**
* Sets what items will be dropped when this entity dies
*
* @param drops Items to drop when the entity dies
*/
public void setDrops(final List<ItemStack> drops) {
this.drops = drops;
}
/**
* Gets all the items which will drop when the entity dies
*