mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-09 14:21:30 +11:00
Add --all-targets to actions
This commit is contained in:
parent
fdedf74d29
commit
5c9a6c973c
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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 },
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue