Skip to content

Commit

Permalink
Crossbow Reload Sound
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 10, 2014
1 parent 457239f commit 952bc7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resources/assets/tinker/sounds.json
Expand Up @@ -34,5 +34,11 @@
"stoneHit2",
"stoneHit3"
]
},
"crossbowReload": {
"category": "neutral",
"sounds": [
"crossbowReload"
]
}
}
Binary file added resources/assets/tinker/sounds/crossbowReload.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/weaponry/weapons/Crossbow.java
Expand Up @@ -291,7 +291,7 @@ public float maxAccuracy(ItemStack itemStack) {
}

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
Expand Down

0 comments on commit 952bc7e

Please sign in to comment.