Crossbow Reload Sound

This commit is contained in:
Bernhard Bonigl committed 2014-10-10 18:41:12 +02:00
1 parent 457239f961
commit 952bc7ed0e
3 files changed
+7 -1

No files matched your search

+6
View File
@@ -34,5 +34,11 @@
"stoneHit2",
"stoneHit3"
]
},
"crossbowReload": {
"category": "neutral",
"sounds": [
"crossbowReload"
]
}
}
Binary file not shown.
@@ -291,7 +291,7 @@ public class Crossbow extends ProjectileWeapon {
}
public void playReloadSound(World world, EntityPlayer player, ItemStack weapon, ItemStack ammo) {
world.playSoundAtEntity(player, Reference.resource("woodHit"), 1.0f, 1.0f);
world.playSoundAtEntity(player, Reference.resource("crossbowReload"), 1.0f, 1.0f);
}
@Override