mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6229: Clarify PlayerItemBreakEvent documentation
By: md_5 <git@md-5.net>
This commit is contained in:
parent
17cdd54b67
commit
1b3be885c1
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ import org.jetbrains.annotations.NotNull;
|
|||
/**
|
||||
* Fired when a player's item breaks (such as a shovel or flint and steel).
|
||||
* <p>
|
||||
* The item that's breaking will exist in the inventory with a stack size of
|
||||
* 0. After the event, the item's durability will be reset to 0.
|
||||
* After this event, the item's amount will be set to {@code item amount - 1}
|
||||
* and its durability will be reset to 0.
|
||||
*/
|
||||
public class PlayerItemBreakEvent extends PlayerEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
|
Loading…
Add table
Reference in a new issue