Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
ENTITY_DAMAGED now knows hot from wet
Dieser Commit ist enthalten in:
Ursprung
c2fdd5cadd
Commit
82febb3887
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren