geforkt von Mirrors/Paper
SPIGOT-542: Clarify PlayerDeathEvent.setKeepLevel
By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
Ursprung
3f9d43cd53
Commit
ad77edbd4b
@ -130,6 +130,10 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
|||||||
* Sets if the Player should keep all EXP at respawn.
|
* Sets if the Player should keep all EXP at respawn.
|
||||||
* <p>
|
* <p>
|
||||||
* This overrides all other EXP settings
|
* This overrides all other EXP settings
|
||||||
|
* <p>
|
||||||
|
* This doesn't prevent prevent the EXP from dropping.
|
||||||
|
* {@link #setDroppedExp(int)} should be used stop the
|
||||||
|
* EXP from dropping.
|
||||||
*
|
*
|
||||||
* @param keepLevel True to keep all current value levels
|
* @param keepLevel True to keep all current value levels
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren