summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/event/entity/EntityDamageEvent.java9
1 files changed, 8 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 3a5a42a0..0201d597 100644
--- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java
+++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java
@@ -4,6 +4,7 @@ import java.util.EnumMap;
import java.util.Map;
import org.apache.commons.lang.Validate;
+import org.bukkit.Material;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
@@ -424,6 +425,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* <p>
* Damage: variable
*/
- FLY_INTO_WALL
+ FLY_INTO_WALL,
+ /**
+ * Damage caused when an entity steps on {@link Material#MAGMA}.
+ * <p>
+ * Damage: 1
+ */
+ HOT_FLOOR
}
}