diff options
author | md_5 <git@md-5.net> | 2017-05-01 19:47:43 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-01 19:47:43 +1000 |
commit | 7450a0255b79a2a4675d31946ebda8716394bbed (patch) | |
tree | 833a9a1479a22ed8822305b38dcdde4fd13eb52b /src/main/java/org/bukkit | |
parent | 68e0ec5a9e8110e03fe2765b61f876df67471ea5 (diff) | |
download | bukkit-7450a0255b79a2a4675d31946ebda8716394bbed.tar bukkit-7450a0255b79a2a4675d31946ebda8716394bbed.tar.gz bukkit-7450a0255b79a2a4675d31946ebda8716394bbed.tar.lz bukkit-7450a0255b79a2a4675d31946ebda8716394bbed.tar.xz bukkit-7450a0255b79a2a4675d31946ebda8716394bbed.zip |
Deprecate DamageModifier.
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index d4143945..ed9387c1 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -226,7 +226,13 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { /** * An enum to specify the types of modifier + * + * @deprecated This API is responsible for a large number of implementation + * problems and is in general unsustainable to maintain. It is likely to be + * removed very soon in a subsequent release. Please see + * https://www.spigotmc.org/threads/194446/ for more information. */ + @Deprecated public enum DamageModifier { /** * This represents the amount of damage being done, also known as the |