mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
SPIGOT-1523: Add FLY_INTO_WALL DamageCause
By: md_5 <git@md-5.net>
This commit is contained in:
parent
eb56494e4b
commit
4915f4a3e1
@ -418,6 +418,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
|||||||
* <p>
|
* <p>
|
||||||
* Damage: variable
|
* Damage: variable
|
||||||
*/
|
*/
|
||||||
CUSTOM
|
CUSTOM,
|
||||||
|
/**
|
||||||
|
* Damage caused when an entity runs into a wall.
|
||||||
|
* <p>
|
||||||
|
* Damage: variable
|
||||||
|
*/
|
||||||
|
FLY_INTO_WALL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user