diff options
Diffstat (limited to 'azalea-world/src/entity/data.rs')
| -rwxr-xr-x | azalea-world/src/entity/data.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-world/src/entity/data.rs b/azalea-world/src/entity/data.rs index c761a786..31d4ca2f 100755 --- a/azalea-world/src/entity/data.rs +++ b/azalea-world/src/entity/data.rs @@ -4,7 +4,8 @@ use azalea_buf::{ BufReadError, McBuf, McBufReadable, McBufVarReadable, McBufVarWritable, McBufWritable, }; use azalea_chat::FormattedText; -use azalea_core::{BlockPos, Direction, GlobalPos, Particle, Slot, Vec3}; +use azalea_core::{BlockPos, Direction, GlobalPos, Particle, Vec3}; +use azalea_inventory::ItemSlot; use bevy_ecs::component::Component; use derive_more::Deref; use enum_as_inner::EnumAsInner; @@ -60,7 +61,7 @@ pub enum EntityDataValue { String(String), FormattedText(FormattedText), OptionalFormattedText(Option<FormattedText>), - ItemStack(Slot), + ItemStack(ItemSlot), Boolean(bool), Rotations(Rotations), BlockPos(BlockPos), |
