aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/common
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-01-14 03:18:38 +0000
committermat <git@matdoes.dev>2025-01-14 03:18:38 +0000
commit2dcfbe96c3024f9e1d32473d58130efa518c91cf (patch)
treefb3eba8d165d80ab47dc83b41adab124e32dad8a /azalea-protocol/src/common
parenta86d011d4ae869128dd404535f8d377c3a5e4c18 (diff)
downloadazalea-drasl-2dcfbe96c3024f9e1d32473d58130efa518c91cf.tar.xz
fix wrong ServerLinkKind and serialize hex colors correctly in nbt
Diffstat (limited to 'azalea-protocol/src/common')
-rw-r--r--azalea-protocol/src/common/server_links.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/common/server_links.rs b/azalea-protocol/src/common/server_links.rs
index 4aed98f3..7c6bbec4 100644
--- a/azalea-protocol/src/common/server_links.rs
+++ b/azalea-protocol/src/common/server_links.rs
@@ -9,8 +9,8 @@ pub struct ServerLinkEntry {
#[derive(Clone, Debug, AzBuf)]
pub enum ServerLinkKind {
- Known(KnownLinkKind),
Component(FormattedText),
+ Known(KnownLinkKind),
}
#[derive(Clone, Copy, Debug, AzBuf)]