Hello,
I have a function that uses a location as one of its arguments.
Now I want that function to execute when a player right-clicks, with "event-block" (so the block that the player clicked) as the location argument.
However, when reloading the script it says that event-block is not of the required type location.
I have a function that uses a location as one of its arguments.
Now I want that function to execute when a player right-clicks, with "event-block" (so the block that the player clicked) as the location argument.
However, when reloading the script it says that event-block is not of the required type location.