diff options
author | EvilSeph <evilseph@gmail.com> | 2011-09-22 01:34:31 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-09-22 01:34:31 -0400 |
commit | f700e32e38033fee54f75d7f76914fa31e9d2953 (patch) | |
tree | 26879c6bc5918147fa959a0fe98a418c2fc7b3c6 /src/main/java/org | |
parent | abd8cf7bef1158749bcc4f33c19bf05a8ffed850 (diff) | |
download | bukkit-f700e32e38033fee54f75d7f76914fa31e9d2953.tar bukkit-f700e32e38033fee54f75d7f76914fa31e9d2953.tar.gz bukkit-f700e32e38033fee54f75d7f76914fa31e9d2953.tar.lz bukkit-f700e32e38033fee54f75d7f76914fa31e9d2953.tar.xz bukkit-f700e32e38033fee54f75d7f76914fa31e9d2953.zip |
Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java b/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java index 30dfec0a..16352403 100644 --- a/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityRegainHealthEvent.java @@ -64,6 +64,10 @@ public class EntityRegainHealthEvent extends EntityEvent implements Cancellable */ REGEN, /** + * When a player regains health from regenerating due to their hunger being satisfied + */ + SATIATED, + /** * When a player regains health from eating consumables */ EATING, |