Hi, I've been trying to find a way to see the items inside a shulker box. I'm trying to stop the command from having an effect if it has a spawner inside. The problem is that it doesnt detect that the item I have is a shulker box (it sends "is not monster spawner or shulker"), and it doesnt send any error messages
Skript rn:
command /dupe:
aliases: /dup
trigger:
set {_item} to player's tool
{_item} isn't monster spawner:
item isn't shulker box:
send "is not monster spawner or shulker" to player
give player {_item}
else:
{_item} contains monster spawner:
send "§cThis item contains a blacklisted item. Type /blacklist to see the list of undupable items."
set {_contains} to 1
{_contains} isn't 1:
send "doesnt contain"
give player {_item}
else:
send "§cYou can't dupe this item. Type /blacklist to see the list of undupable items"
Addons installed: SkQuery, TuSKe
Skript rn:
command /dupe:
aliases: /dup
trigger:
set {_item} to player's tool
{_item} isn't monster spawner:
item isn't shulker box:
send "is not monster spawner or shulker" to player
give player {_item}
else:
{_item} contains monster spawner:
send "§cThis item contains a blacklisted item. Type /blacklist to see the list of undupable items."
set {_contains} to 1
{_contains} isn't 1:
send "doesnt contain"
give player {_item}
else:
send "§cYou can't dupe this item. Type /blacklist to see the list of undupable items"
Addons installed: SkQuery, TuSKe