mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Implemented hunger-related regen and damage
This commit is contained in:
@ -49,6 +49,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
|
||||
const CAUSE_SUICIDE = 12;
|
||||
const CAUSE_MAGIC = 13;
|
||||
const CAUSE_CUSTOM = 14;
|
||||
const CAUSE_STARVATION = 15;
|
||||
|
||||
|
||||
private $cause;
|
||||
|
Reference in New Issue
Block a user