Fixed the damage and idle sound getter being completely wrong.

This commit is contained in:
libraryaddict
2014-01-19 08:39:23 +13:00
parent f24eaa4854
commit 8535ccf2dd
4 changed files with 13 additions and 20 deletions

View File

@@ -206,7 +206,7 @@ public class LibsDisguises extends JavaPlugin {
if (sound != null) {
Float soundStrength = ReflectionManager.getSoundModifier(nmsEntity);
if (soundStrength != null) {
sound.setDamageSoundVolume((Float) soundStrength);
sound.setDamageAndIdleSoundVolume((Float) soundStrength);
}
}