mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 02:07:37 +01:00
Added DamageCause.SUICIDE.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
52e317ee5e
commit
df275c8376
@ -143,6 +143,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
||||
* Damage: 5
|
||||
*/
|
||||
LIGHTNING,
|
||||
/**
|
||||
* Damage caused by committing suicide using the command "/kill"
|
||||
*
|
||||
* Damage: 1000
|
||||
*/
|
||||
SUICIDE,
|
||||
/**
|
||||
* Custom damage.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user