From ad77edbd4bb2b00d9d871927f18894765219e61a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 8 Mar 2015 00:49:07 +0000 Subject: [PATCH] SPIGOT-542: Clarify PlayerDeathEvent.setKeepLevel By: Thinkofdeath --- .../main/java/org/bukkit/event/entity/PlayerDeathEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java index 6c9b7942b6..aad0354952 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java @@ -130,6 +130,10 @@ public class PlayerDeathEvent extends EntityDeathEvent { * Sets if the Player should keep all EXP at respawn. *

* This overrides all other EXP settings + *

+ * 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 */