aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-03-13 20:52:29 +0000
committermat <git@matdoes.dev>2025-03-13 20:52:29 +0000
commit249fa55a53d3011cd0223c0dc5673e9a7b81db8e (patch)
tree4bb2b090c245660d36525605443684ded7fa7584 /azalea-inventory/src
parent65fe07215149ab81d0862ab7edac71d6a8417ef8 (diff)
downloadazalea-drasl-249fa55a53d3011cd0223c0dc5673e9a7b81db8e.tar.xz
fix wrong Potion data component
Diffstat (limited to 'azalea-inventory/src')
-rw-r--r--azalea-inventory/src/components.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-inventory/src/components.rs b/azalea-inventory/src/components.rs
index 2ff00d5b..1d92faf3 100644
--- a/azalea-inventory/src/components.rs
+++ b/azalea-inventory/src/components.rs
@@ -512,6 +512,7 @@ pub struct PotionContents {
pub potion: Option<Potion>,
pub custom_color: Option<i32>,
pub custom_effects: Vec<MobEffectInstance>,
+ pub custom_name: Option<String>,
}
impl DataComponent for PotionContents {
const KIND: DataComponentKind = DataComponentKind::PotionContents;