I'm currently trying to figure out why this error is occurring. Is it an error with how many entities I'm trying to detect?
Code:
Code:
code_language.skript:
on spawn of zombie or skeleton or creeper or slime or blaze or spider or ghast:
if {photon.monsterSpawning.world::%event-entity's world%} is false:
cancel event
on spawn of cow or pig or bat or chicken or sheep or villager or squid:
if {photon.animalSpawning.world::%event-entity's world%} is false:
cancel event