Skip to content

Commit

Permalink
fix: interpolation for item_slots
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Mar 29, 2024
1 parent 9040ff1 commit 5148d28
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions bolt/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ def get_bolt_parsers(
"item_slot": AlternativeParser(
[parsers["item_slot"], InterpolationParser("item_slot")]
),
"item_slots": AlternativeParser(
[parsers["item_slots"], InterpolationParser("item_slots")]
),
"uuid": AlternativeParser([InterpolationParser("uuid"), parsers["uuid"]]),
"objective": AlternativeParser(
[InterpolationParser("objective"), parsers["objective"]]
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include = ["bolt/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
beet = ">=0.104"
mecha = ">=0.89.1"
mecha = ">=0.91.0"

[tool.poetry.group.dev.dependencies]
pytest = "^8.0.1"
Expand Down

0 comments on commit 5148d28

Please sign in to comment.