Add --all-targets to actions

This commit is contained in:
Ryan 2022-09-09 22:35:24 -07:00
parent fdedf74d29
commit 5c9a6c973c
2 changed files with 4 additions and 4 deletions

View file

@ -27,6 +27,6 @@ jobs:
- name: Validate formatting on ${{ matrix.os }}
run: cargo fmt --all -- --check
- name: Run clippy lints on ${{ matrix.os }}
run: cargo +stable clippy --verbose --no-deps --all-features
run: cargo +stable clippy --verbose --no-deps --all-features --all-targets
- name: Run tests on ${{ matrix.os }}
run: cargo +stable test --verbose --all-features
run: cargo +stable test --verbose --all-features --all-targets

View file

@ -226,9 +226,9 @@ impl Config for Game {
if sneaking != server.state.paused {
server.state.paused = sneaking;
client.play_sound(
ident!("minecraft:block.note_block.pling"),
ident!("block.note_block.pling"),
SoundCategory::Block,
client.position().into(),
client.position(),
0.5f32,
if sneaking { 0.5f32 } else { 1f32 },
);