summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authormathiascode <mathiascode@users.noreply.github.com>2017-02-15 06:05:24 +0100
committerMattes D <github@xoft.cz>2017-02-15 06:05:24 +0100
commitdae2adde6563bec4b614230992cae6b1ca965b4f (patch)
tree34149ac0340cc394019eb430247d03950b485555 /src/Entities/Player.cpp
parentAdded some blocks and items (#3503) (diff)
downloadcuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.gz
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.bz2
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.lz
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.xz
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.zst
cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 9fba0d015..521a12326 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -2291,7 +2291,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
if (GetInventory().DamageEquippedItem(static_cast<Int16>(a_Amount)))
{
- m_World->BroadcastSoundEffect("random.break", GetPosX(), GetPosY(), GetPosZ(), 0.5f, static_cast<float>(0.75 + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
+ m_World->BroadcastSoundEffect("entity.item.break", GetPosX(), GetPosY(), GetPosZ(), 0.5f, static_cast<float>(0.75 + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
}
}