diff options
| author | mat <git@matdoes.dev> | 2024-05-22 10:13:22 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-05-22 10:14:35 +0000 |
| commit | 729d211406c096488a5f7f3df5120393990ac282 (patch) | |
| tree | 9f507f4adb40d14c505764f8436b290b59591b2a /azalea-inventory/src | |
| parent | 892869ad1249e238eb9228d57bd9884793a9fe75 (diff) | |
| download | azalea-drasl-729d211406c096488a5f7f3df5120393990ac282.tar.xz | |
read Tool blocks as HolderSet
fixes an error with viaversion servers
Diffstat (limited to 'azalea-inventory/src')
| -rw-r--r-- | azalea-inventory/src/components.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-inventory/src/components.rs b/azalea-inventory/src/components.rs index 6f9ea527..948bb96d 100644 --- a/azalea-inventory/src/components.rs +++ b/azalea-inventory/src/components.rs @@ -359,7 +359,7 @@ impl DataComponent for FireResistant {} #[derive(Clone, PartialEq, McBuf)] pub struct ToolRule { - pub blocks: Vec<Block>, + pub blocks: HolderSet<Block, ResourceLocation>, pub speed: Option<f32>, pub correct_for_drops: Option<bool>, } |
