Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
Improve shield damage
Dieser Commit ist enthalten in:
Ursprung
52c7fc0a1a
Commit
d4e50bef9d
@ -466,8 +466,8 @@
|
||||
+
|
||||
+ // Apply blocking code
|
||||
+ if (event.getDamage(DamageModifier.BLOCKING) < 0) {
|
||||
+ this.k((float) event.getDamage()); // PAIL: rename
|
||||
+ if (damagesource.i() instanceof EntityLiving) {// PAIL: rename
|
||||
+ this.k(f); // PAIL: rename
|
||||
+ ((EntityLiving) damagesource.i()).a(EntityLiving.this, 0.5F, EntityLiving.this.locX - damagesource.i().locX, EntityLiving.this.locZ - damagesource.i().locZ);
|
||||
+ }
|
||||
+ }
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren