Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 20:40:07 +01:00
Additional fireworks damage tracking.
Dieser Commit ist enthalten in:
Ursprung
622add8458
Commit
746cf0f0d7
@ -33,3 +33,13 @@
|
||||
}
|
||||
|
||||
double d0 = 5.0D;
|
||||
@@ -162,7 +169,9 @@
|
||||
if (flag) {
|
||||
float f1 = f * (float) Math.sqrt((5.0D - (double) this.g(entityliving)) / 5.0D);
|
||||
|
||||
+ CraftEventFactory.entityDamage = this; // CraftBukkit
|
||||
entityliving.damageEntity(DamageSource.t, f1);
|
||||
+ CraftEventFactory.entityDamage = null; // CraftBukkit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren