Skip to content

[Bug] item_craft events return "AIR" in the %item% variable instead of "FILLED_MAP" #116

@Limeen

Description

@Limeen

Example :

  prevent_map_dupe:
    type: item_craft
    conditions:
      - "%item% == FILLED_MAP"
    actions:
      default:
        - "cancel_event: true"
        - "close_inventory: true"

It doesn't work because %item% returns AIR instead of FILLED_MAP while trying to duplicate a map using an empty map and an existing map in the crafting table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions