1 2 3 4 5 6 7
use crate::{Decode, Difficulty, Encode, Packet}; #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Packet)] pub struct DifficultyS2c { pub difficulty: Difficulty, pub locked: bool, }