mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
0ab994ec78
commit
8ea6bf1889
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user