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
*