aboutsummaryrefslogtreecommitdiff
path: root/azalea-core
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-02-19 03:19:05 +0800
committermat <git@matdoes.dev>2026-02-19 03:19:05 +0800
commit3053238279fccfefc35fc5fe9ff3b0be0185e4fb (patch)
tree5d9619a90b892d50b7d44f10a20dcc42b9afa4c9 /azalea-core
parent8d718a627349bdf1e531fba318abc634a3bec9da (diff)
downloadazalea-drasl-3053238279fccfefc35fc5fe9ff3b0be0185e4fb.tar.xz
fix incorrect protocol impls for ClientboundPlayerInfoUpdate and recipe packets
Diffstat (limited to 'azalea-core')
-rw-r--r--azalea-core/src/game_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/game_type.rs b/azalea-core/src/game_type.rs
index a8c73a41..9113e382 100644
--- a/azalea-core/src/game_type.rs
+++ b/azalea-core/src/game_type.rs
@@ -87,7 +87,7 @@ impl GameMode {
impl GameMode {
/// Whether the player can't interact with blocks while in this game mode.
///
- /// (Returns true if you're in adventure or spectator.)
+ /// Returns true if you're in adventure or spectator.
pub fn is_block_placing_restricted(&self) -> bool {
matches!(self, GameMode::Adventure | GameMode::Spectator)
}