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

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