From df275c8376801ebf9a773058c01df998a4a94ef5 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 12 Aug 2011 21:35:55 -0400 Subject: [PATCH] Added DamageCause.SUICIDE. By: EvilSeph --- .../java/org/bukkit/event/entity/EntityDamageEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index 369e7abd47..358a518877 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -143,6 +143,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * Damage: 5 */ LIGHTNING, + /** + * Damage caused by committing suicide using the command "/kill" + * + * Damage: 1000 + */ + SUICIDE, /** * Custom damage. *