diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/s_change_difficulty.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/s_change_difficulty.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_change_difficulty.rs b/azalea-protocol/src/packets/game/s_change_difficulty.rs new file mode 100755 index 00000000..7dcd3c83 --- /dev/null +++ b/azalea-protocol/src/packets/game/s_change_difficulty.rs @@ -0,0 +1,8 @@ +use azalea_buf::AzBuf; +use azalea_core::difficulty::Difficulty; +use azalea_protocol_macros::ServerboundGamePacket; + +#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] +pub struct ServerboundChangeDifficulty { + pub difficulty: Difficulty, +} |
