diff options
| author | mat <git@matdoes.dev> | 2025-10-30 19:50:37 +0100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-30 19:50:37 +0100 |
| commit | 7d0c7553fd5a0210285a51a65c10f898f641a0cc (patch) | |
| tree | 2bfc5747c55622082761f7d6e3cabf86ed8ae2e4 /codegen/lib | |
| parent | 03a496fc7d952b1136cb717f2e8d1ccfb798ee64 (diff) | |
| download | azalea-drasl-7d0c7553fd5a0210285a51a65c10f898f641a0cc.tar.xz | |
Remove unnecessary MoveEntityError and MovePlayerError types and other cleanup
Diffstat (limited to 'codegen/lib')
| -rw-r--r-- | codegen/lib/code/tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/tags.py b/codegen/lib/code/tags.py index 9bacc3d5..d3e561df 100644 --- a/codegen/lib/code/tags.py +++ b/codegen/lib/code/tags.py @@ -18,7 +18,7 @@ use crate::{struct_name}; for tag_name, tag in sorted(registries.items(), key=lambda x: x[0]): tag_name = tag_name.replace("/", "_") static_set_name = to_snake_case(tag_name).upper() - generated += f"pub static {static_set_name}: LazyLock<HashSet<{struct_name}>> = LazyLock::new(|| HashSet::from_iter(vec![" + generated += f"pub static {static_set_name}: LazyLock<HashSet<{struct_name}>> = LazyLock::new(|| HashSet::from_iter([" queue = tag["values"].copy() while queue != []: |
