mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
SPIGOT-2171: Fix shield blocking sounds
By: Thinkofname <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
7a3f710cf1
commit
97cabc950a
@ -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…
Reference in New Issue
Block a user