mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Super commit (#208)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user