Super commit (#208)

This commit is contained in:
suprohub
2024-10-28 23:04:56 +03:00
committed by GitHub
parent 79d2f91deb
commit ba6f50aae0

View File

@@ -8,17 +8,12 @@ use pumpkin_protocol::{
use super::World; use super::World;
#[derive(Default)]
pub struct Scoreboard { pub struct Scoreboard {
objectives: HashMap<String, ScoreboardObjective<'static>>, objectives: HashMap<String, ScoreboardObjective<'static>>,
// teams: HashMap<String, Team>, // teams: HashMap<String, Team>,
} }
impl Default for Scoreboard {
fn default() -> Self {
Self::new()
}
}
impl Scoreboard { impl Scoreboard {
#[must_use] #[must_use]
pub fn new() -> Self { pub fn new() -> Self {