Skip to content

Commit

Permalink
fix: singular player slots
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Mar 29, 2024
1 parent 6b41266 commit 4e8a479
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mecha/ast.py
Expand Up @@ -936,6 +936,11 @@ class AstItemSlot(AstOption):
"weapon",
"weapon.mainhand",
"weapon.offhand",
"player.cursor",
"player.crafting.0",
"player.crafting.1",
"player.crafting.2",
"player.crafting.3",
}
| {f"container.{n}" for n in range(54)}
| {f"enderchest.{n}" for n in range(27)}
Expand All @@ -961,11 +966,6 @@ class AstItemSlots(AstOption):
"horse.*",
"weapon.*",
"armor.*",
"player.cursor",
"player.crafting.0",
"player.crafting.1",
"player.crafting.2",
"player.crafting.3",
"player.crafting.*",
}

Expand Down

0 comments on commit 4e8a479

Please sign in to comment.