geforkt von Mirrors/Paper
SPIGOT-2777: Mobs not being angered by snowballs
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
c1a05bcbea
Commit
9dad03430b
@ -492,7 +492,7 @@
|
||||
+
|
||||
+ absorptionModifier = (float) -event.getDamage(DamageModifier.ABSORPTION);
|
||||
+ this.setAbsorptionHearts(Math.max(this.getAbsorptionHearts() - absorptionModifier, 0.0F));
|
||||
+ if (f > 0) {
|
||||
+ if (f > 0 || !human) {
|
||||
+ if (human) {
|
||||
+ // PAIL: Be sure to drag all this code from the EntityHuman subclass each update.
|
||||
+ ((EntityHuman) this).applyExhaustion(damagesource.getExhaustionCost());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren