aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_change_difficulty_packet.rs
blob: edda52d95f7657bfee1c8d113fe9f3d7a992b2de (plain)
1
2
3
4
5
6
7
8
use azalea_core::difficulty::Difficulty;
use packet_macros::{GamePacket, McBuf};

#[derive(Clone, Debug, McBuf, GamePacket)]
pub struct ClientboundChangeDifficultyPacket {
    pub difficulty: Difficulty,
    pub locked: bool,
}