mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Rename revision 2
This commit is contained in:
1 parent
3c5632de31
commit
2b5a61f03d
29 files changed
+126
-126
No files matched your search
@@ -268,10 +268,10 @@ public abstract class Entity {
|
||||
this.world.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
this.damageEntity(DamageSource.b, event.getDamage());
|
||||
this.damageEntity(DamageSource.BURN, event.getDamage());
|
||||
}
|
||||
} else {
|
||||
this.damageEntity(DamageSource.b, 1);
|
||||
this.damageEntity(DamageSource.BURN, 1);
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
@@ -310,7 +310,7 @@ public abstract class Entity {
|
||||
server.getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
this.damageEntity(DamageSource.c, event.getDamage());
|
||||
this.damageEntity(DamageSource.LAVA, event.getDamage());
|
||||
}
|
||||
|
||||
if (this.fireTicks <= 0) {
|
||||
@@ -329,7 +329,7 @@ public abstract class Entity {
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
this.damageEntity(DamageSource.c, 4);
|
||||
this.damageEntity(DamageSource.LAVA, 4);
|
||||
this.fireTicks = 600;
|
||||
}
|
||||
}
|
||||
@@ -668,7 +668,7 @@ public abstract class Entity {
|
||||
i = event.getDamage();
|
||||
}
|
||||
// CraftBukkit end
|
||||
this.damageEntity(DamageSource.a, i);
|
||||
this.damageEntity(DamageSource.FIRE, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user