diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 607a09f..22cafbe 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/examples/conway.rs b/examples/conway.rs index 6585e26..0e9e20f 100644 --- a/examples/conway.rs +++ b/examples/conway.rs @@ -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 }, );