mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-2171: Fix shield blocking sounds
This commit is contained in:
parent
199b11bdd0
commit
b103841da3
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@
|
|||
f *= 0.75F;
|
||||
}
|
||||
|
||||
boolean flag = false;
|
||||
- boolean flag = false;
|
||||
+ boolean flag = f > 0.0F && this.d(damagesource); // Copied from below
|
||||
|
||||
- if (f > 0.0F && this.d(damagesource)) {
|
||||
+ // CraftBukkit - Moved into damageEntity0(DamageSource, float)
|
||||
|
|
Loading…
Add table
Reference in a new issue