Skip to content

Commit

Permalink
fix: logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
edayot committed Jul 13, 2024
1 parent 5ec5a47 commit ea9c06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/itemio/functions/impl/filters/minecraft_tags.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ execute
raw f"execute if score #filter.valid_item itemio.io matches 1 if data storage itemio:io filter.minecraft.\"{tag}\" run function {function_name}"
function function_name:
scoreboard players set #filter.valid_item itemio.io 0
data modify entity @s HandItems[0] set value {id:"minecraft:air"}
data modify entity @s HandItems[0] set value {}
data modify entity @s HandItems[0] set from storage itemio:io item
raw f"execute if predicate itemio:impl/minecraft/{tag} run scoreboard players set #filter.valid_item itemio.io 1"

Expand All @@ -39,7 +39,7 @@ execute
"predicate": {
"equipment": {
"mainhand": {
"items": f"minecraft:{tag}"
"items": f"#minecraft:{tag}"
}
}
}
Expand Down

0 comments on commit ea9c06c

Please sign in to comment.