Hi I'm having a really weird issue. Hopefully it's not too confusing. So I spawn a mob with a command that runs a public void spawns and then teleports the mob to the player. I have a scheduled task which is meant to teleport the mob if it's too far away, but it doesn't. This is the weird part, I made a command to teleport the mob. The first time I run the command it doesn't teleport the mob. But what it does do is really weird. When I run the command for the first time, the scheduled task that's meant to teleport the mob starts working. So when I run the command the second time, unlike the first time it actually teleports the mob. It's like it enables teleporting the mob. I'm gussing it's a glitch; Or is this how it's meant to work? I updated spigot to the latest version but it still acts the same.