I'm trying to set the inventory name of a chest but can't figure it out. Here's the code:
No errors but the chest's inventory name isn't changed, and when I broadcast the inventory name it says "container.chest"
code_language.skript:
on place of a chest:
set inventory name of event-block's inventory to "hi"
broadcast "%inventory name of event-block's inventory%"