mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +01:00
ENTITY_DAMAGED now knows hot from wet
This commit is contained in:
parent
c2fdd5cadd
commit
82febb3887
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ public abstract class Entity {
|
|||
if(this instanceof EntityLiving) {
|
||||
CraftServer server = ((WorldServer) this.world).getServer();
|
||||
org.bukkit.entity.Entity damagee = this.getBukkitEntity();
|
||||
DamageCause damageType = EntityDamageEvent.DamageCause.DROWNING;
|
||||
DamageCause damageType = EntityDamageEvent.DamageCause.FIRE_TICK;
|
||||
int damageDone = 1;
|
||||
|
||||
EntityDamageEvent event = new EntityDamageEvent(damagee, damageType, damageDone);
|
||||
|
|
Loading…
Reference in a new issue