Im trying to make a skript where it adds the spawn reason to the nbt of a mob.
I tried to test it on sheeps.
It seems like the skript isn't working. Any way to fix it or is there any other method?
Running Skript 2.5-alpha1 and Sk-NBeeT 2.11.0 on Spigot 1.15.2
I tried to test it on sheeps.
Code:
on spawn of sheep:
"%spawn reason%" is not "natural":
add "{spawnreason:1}" to entity-nbt of last spawned sheep
It seems like the skript isn't working. Any way to fix it or is there any other method?
Running Skript 2.5-alpha1 and Sk-NBeeT 2.11.0 on Spigot 1.15.2