Skip to content

Commit

Permalink
Add default implementation for play_sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul1365972 committed Dec 2, 2023
1 parent 17b2a15 commit 7feb687
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions crates/core/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ pub trait World {

fn play_sound(
&mut self,
pos: BlockPos,
sound_id: i32,
sound_category: i32,
volume: f32,
pitch: f32,
);
_pos: BlockPos,
_sound_id: i32,
_sound_category: i32,
_volume: f32,
_pitch: f32,
) {
}
}

0 comments on commit 7feb687

Please sign in to comment.