mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 04:13:51 -07:00
Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -16,15 +16,6 @@ public class EntityDeathEvent extends EntityEvent {
|
|||||||
this.drops = drops;
|
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
|
* Gets all the items which will drop when the entity dies
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user