mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07:00
Allow adding items to BlockDropItemEvent
This commit is contained in:
@@ -68,7 +68,7 @@ public class BlockDropItemEvent extends BlockEvent implements Cancellable {
|
|||||||
* Gets list of the Item drops caused by the block break.
|
* 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
|
* 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
|
* @return The Item the block caused to drop
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user