{
"description": "",
"supported_items": [],
"weight": 1,
"max_level": 1,
"min_cost": {
"base": 0,
"per_level_above_first": 0
},
"max_cost": {
"base": 0,
"per_level_above_first": 0
},
"anvil_cost": 0,
"slots": [
"any"
],
"effects": {
"minecraft:location_changed": [
{
"requirements": {
"condition": "minecraft:enchantment_active_check",
"active": false
},
"effect": {
"type": "minecraft:all_of",
"effects": [
{
"type": "minecraft:explode",
"attribute_to_user": true,
"damage_type": "minecraft:bad_respawn_point",
"radius": 5,
"create_fire": true,
"block_interaction": "block",
"small_particle": {
"type": "minecraft:explosion"
},
"large_particle": {
"type": "minecraft:explosion"
},
"sound": "minecraft:entity.generic.explode"
},
{
"type": "minecraft:run_function",
"function": "quantum:enchantment/bad_respawn_point"
}
]
}
}
]
}
}```
I followed a tutorial and it said if the enchantment active check is false, it will only run once, but it is running twice