mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Add DamageCause.HOT_FLOOR
By: md_5 <git@md-5.net>
This commit is contained in:
parent
245a19e4af
commit
f5378fcb05
1 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,7 @@ import java.util.EnumMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.apache.commons.lang.Validate;
|
import org.apache.commons.lang.Validate;
|
||||||
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
|
@ -424,6 +425,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
||||||
* <p>
|
* <p>
|
||||||
* Damage: variable
|
* 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 a new issue