mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
SPIGOT-5226: Update Javadoc of PlayerDeathEvent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f398d96c05
commit
361349ff60
1 changed files with 6 additions and 2 deletions
|
@ -134,9 +134,9 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
||||||
* <p>
|
* <p>
|
||||||
* This overrides all other EXP settings
|
* This overrides all other EXP settings
|
||||||
* <p>
|
* <p>
|
||||||
* This doesn't prevent prevent the EXP from dropping.
|
* <b>This doesn't prevent prevent the EXP from dropping.
|
||||||
* {@link #setDroppedExp(int)} should be used stop the
|
* {@link #setDroppedExp(int)} should be used stop the
|
||||||
* EXP from dropping.
|
* EXP from dropping.</b>
|
||||||
*
|
*
|
||||||
* @param keepLevel True to keep all current value levels
|
* @param keepLevel True to keep all current value levels
|
||||||
*/
|
*/
|
||||||
|
@ -146,6 +146,10 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets if the Player keeps inventory on death.
|
* Sets if the Player keeps inventory on death.
|
||||||
|
* <p>
|
||||||
|
* <b>This doesn't prevent prevent the items from dropping.
|
||||||
|
* {@code getDrops().clear()} should be used stop the
|
||||||
|
* items from dropping.</b>
|
||||||
*
|
*
|
||||||
* @param keepInventory True to keep the inventory
|
* @param keepInventory True to keep the inventory
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue