aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs b/azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs
new file mode 100644
index 00000000..bbfd7891
--- /dev/null
+++ b/azalea-protocol/src/packets/game/serverbound_lock_difficulty_packet.rs
@@ -0,0 +1,7 @@
+use azalea_buf::McBuf;
+use packet_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
+pub struct ServerboundLockDifficultyPacket {
+ pub locked: bool,
+}