So I am trying to make a skript for a very angry dog but when I add a pathfinder goal to event-entity i get this error:
My code is
on spawn of wolf:
chance of 2%:
set name of event-entity to "Sam"
set event-entity's held item to bone of sharpness 15 named "&cSam's Bone"
add pathfinder goal target nearest player to event-entity
So I was making a skript to give a smite stick to add nbt, but when I use it, it returns an error, here is my code:
Error:
https://gyazo.com/ae4c9577914cde6d3760b4d5a11231d9
New Text Document.sk