Skip to content

Disabling checks in config does not work #63

@itshaithamn

Description

@itshaithamn

Checklist

What behaviour is observed?

Setting values to -1, 9999, or deleting them from the config under illegal-echant-list still disenchants the item in the player's inventory.

Expected behaviour

Expected to ignore the checks for the changed illegal-enchant values

To Reproduce

check-when:
PlayerJoin: true
HopperTransfer: true
InventoryClose: true
InventoryOpen: true
ItemPickup: true

illegal-enchant-list:
- unbreaking:-1 [or 99999 or deleting it outright]
- silk_touch:-1 [or 99999 or deleting it outright]
- protection:-1 [or 99999 or deleting it outright]

Spark profiler link

https://spark.lucko.me/docs

Error log (if applicable)

No response

Surf configuration (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions