mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Allow adding items to BlockDropItemEvent
This commit is contained in:
parent
c8fe881ce4
commit
65807cfb9b
@ -68,7 +68,7 @@ public class BlockDropItemEvent extends BlockEvent implements Cancellable {
|
||||
* Gets list of the Item drops caused by the block break.
|
||||
*
|
||||
* This list is mutable - removing an item from it will cause it to not
|
||||
* drop. It is not legal however to add new items to the list.
|
||||
* drop. Adding to the list is allowed.
|
||||
*
|
||||
* @return The Item the block caused to drop
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user