diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2026-03-24 11:15:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-24 11:15:56 -0500 |
| commit | eeaf1435e81d9cbd8daa0efa22029c1f259a64b5 (patch) | |
| tree | 3486e26d5409708370e4e259d240fb77c6e1e439 /codegen/lib/code/registry.py | |
| parent | 41a9ae6aaff77646c08c64ac1334a8cc6081c24f (diff) | |
| download | azalea-drasl-eeaf1435e81d9cbd8daa0efa22029c1f259a64b5.tar.xz | |
26.1 (#316)
* start updating to 26.1
* start updating to 26.1-snapshot-6
* 26.1-snapshot-6
* 26.1-snapshot-10
* 26.1-rc-1
* fix tests
* 26.1-rc-2 and sort default components
* 26.1
* update changelog
Diffstat (limited to 'codegen/lib/code/registry.py')
| -rw-r--r-- | codegen/lib/code/registry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/registry.py b/codegen/lib/code/registry.py index 01462e1f..9c30a273 100644 --- a/codegen/lib/code/registry.py +++ b/codegen/lib/code/registry.py @@ -154,7 +154,7 @@ def registry_name_to_enum_name(registry_name: str) -> str: # change _type to _kind because that's Rustier (and because _type # is a reserved keyword) registry_name = registry_name[:-5] + "_kind" - elif registry_name in {"menu", "block", "item"}: + elif registry_name in {"menu", "block", "item", "banner_pattern"}: registry_name += "_kind" return to_camel_case(registry_name) |
