diff --git a/pumpkin/src/world/scoreboard.rs b/pumpkin/src/world/scoreboard.rs index a24f8396..561b4097 100644 --- a/pumpkin/src/world/scoreboard.rs +++ b/pumpkin/src/world/scoreboard.rs @@ -8,17 +8,12 @@ use pumpkin_protocol::{ use super::World; +#[derive(Default)] pub struct Scoreboard { objectives: HashMap>, // teams: HashMap, } -impl Default for Scoreboard { - fn default() -> Self { - Self::new() - } -} - impl Scoreboard { #[must_use] pub fn new() -> Self {