#Problem with filled_map

1 messages · Page 1 of 1 (latest)

brittle raven
#

There is a script:

on craft of air:
cancel event
and the fact is that the crafting event is canceled filled_map
Also, due to the fact that the SCRIPT cannot determine what the map has been crafted , when:
set {_nbt::*} to nbt of event-item
send "NBT tags of the item you are holding:"
writes that there is no tag TYPE, but in fact there is NBT: "map:1"

#

Full script:

on craft of air:
cancel event
set {_nbt::} to nbt of event-item
send "NBT tags of the item you are holding:"
loop {_nbt::
}:
send "%loop-value%"
the fact is that it should not work at all when crafting a card.
If I do (on craft filled map)
then the script stops working (nothing happens)