mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
Add DamageCause.HOT_FLOOR
By: md_5 <git@md-5.net>
This commit is contained in:
parent
245a19e4af
commit
f5378fcb05
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user