diff options
author | md_5 <git@md-5.net> | 2016-03-01 17:35:27 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-01 17:35:27 +1100 |
commit | c633591e52e0ecd4f4d146ebd8231659b4b87479 (patch) | |
tree | 7bc35e5559c0f1623ab82fe299c7f26ecbc61df0 /src/main | |
parent | 6b1594cb519371243d8dc1c1775f2cf4eda31745 (diff) | |
download | bukkit-c633591e52e0ecd4f4d146ebd8231659b4b87479.tar bukkit-c633591e52e0ecd4f4d146ebd8231659b4b87479.tar.gz bukkit-c633591e52e0ecd4f4d146ebd8231659b4b87479.tar.lz bukkit-c633591e52e0ecd4f4d146ebd8231659b4b87479.tar.xz bukkit-c633591e52e0ecd4f4d146ebd8231659b4b87479.zip |
SPIGOT-1523: Add FLY_INTO_WALL DamageCause
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index f217a890..3a5a42a0 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -418,6 +418,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * <p> * Damage: variable */ - CUSTOM + CUSTOM, + /** + * Damage caused when an entity runs into a wall. + * <p> + * Damage: variable + */ + FLY_INTO_WALL } } |