Good Afternoon Everyone
I have just updated my skipt and found an issue (it may well be my code) the below worked perfectly before the update and now (no errors) does not work
Have I missed something?
[doublepost=1610702017,1607259501][/doublepost]
I have just updated my skipt and found an issue (it may well be my code) the below worked perfectly before the update and now (no errors) does not work
Have I missed something?
Code:
on spawn of Enderman or Creeper or Drowned or Endermite or Evoker or Ghast or Guardian or Husk or Magma Cube or Phantom or Shulker or Silverfish or Skeleton or Slime or Stray or Vex or Vindicator or Witch or Wither Skeleton or Zombie or Zombie Villager or Spider:
loop {mobRepellentlarge::*}:
if distance between event-location and loop-value is less than 50: #loop-value = "loop-location" (from list variable)
cancel event
broadcast "DEBUG: cancelled spawn due to mob repellent at %loop-value%"
stop loop