summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-03-08 00:49:07 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-03-08 00:49:07 +0000
commitc4858369b3ff4cc3702f86ac19401c25020a7406 (patch)
treec15a5f4c7e90914a82e511920a0d09d0f7fbbfdc
parent78af97dbe303df77eb9443074ee0494cd80e0ac9 (diff)
downloadbukkit-c4858369b3ff4cc3702f86ac19401c25020a7406.tar
bukkit-c4858369b3ff4cc3702f86ac19401c25020a7406.tar.gz
bukkit-c4858369b3ff4cc3702f86ac19401c25020a7406.tar.lz
bukkit-c4858369b3ff4cc3702f86ac19401c25020a7406.tar.xz
bukkit-c4858369b3ff4cc3702f86ac19401c25020a7406.zip
SPIGOT-542: Clarify PlayerDeathEvent.setKeepLevel
-rw-r--r--src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java b/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java
index 6c9b7942..aad03549 100644
--- a/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java
+++ b/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.
* <p>
* 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
*/