aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_lock_difficulty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_lock_difficulty.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_lock_difficulty.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_lock_difficulty.rs b/azalea-protocol/src/packets/game/s_lock_difficulty.rs
new file mode 100755
index 00000000..72acb705
--- /dev/null
+++ b/azalea-protocol/src/packets/game/s_lock_difficulty.rs
@@ -0,0 +1,7 @@
+use azalea_buf::AzBuf;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
+pub struct ServerboundLockDifficulty {
+ pub locked: bool,
+}