mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Update upstream B/CB/S
This commit is contained in:
@@ -19,5 +19,5 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ + (this instanceof CraftPlayer ? ", player: " + this.getName() + ')' : ')'));
|
||||
}
|
||||
|
||||
if (entity instanceof EntityPlayer && health == 0) {
|
||||
if (health == 0) {
|
||||
--
|
@@ -30,10 +30,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ if (com.destroystokyo.paper.PaperConfig.setHealthBeforeDeathEvent) {
|
||||
+ this.getHandle().setHealth((float) health);
|
||||
+ }
|
||||
+ // Paper end
|
||||
+
|
||||
if (entity instanceof EntityPlayer && health == 0) {
|
||||
((EntityPlayer) entity).die(DamageSource.GENERIC);
|
||||
+
|
||||
if (health == 0) {
|
||||
getHandle().die(DamageSource.GENERIC);
|
||||
}
|
||||
|
||||
- getHandle().setHealth((float) health);
|
||||
|
Submodule work/Bukkit updated: c5354dfc26...9335c0ba4c
Submodule work/CraftBukkit updated: 21e3b05522...83a9dbdef6
Submodule work/Spigot updated: 078e2f8b3c...90f61bc448
Reference in New Issue
Block a user