From 7feb687f96db53e5903f7e00affe803367ed22a3 Mon Sep 17 00:00:00 2001 From: Paul1365972 Date: Sat, 2 Dec 2023 19:56:09 +0100 Subject: [PATCH] Add default implementation for play_sound --- crates/core/src/world/mod.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/crates/core/src/world/mod.rs b/crates/core/src/world/mod.rs index 72248835..7cae9d41 100644 --- a/crates/core/src/world/mod.rs +++ b/crates/core/src/world/mod.rs @@ -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, + ) { + } }