geforkt von Mirrors/Paper
SPIGOT-5226: Update Javadoc of PlayerDeathEvent
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
f398d96c05
Commit
361349ff60
@ -134,9 +134,9 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
||||
* <p>
|
||||
* This overrides all other EXP settings
|
||||
* <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
|
||||
* EXP from dropping.
|
||||
* EXP from dropping.</b>
|
||||
*
|
||||
* @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.
|
||||
* <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
|
||||
*/
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren