datapack working with singleplayer but not with paper server
Basically I have a function that teleports an entity and summons an entity but it sometimes works and sometimes doesn't, and sometimes it executes 3 times. i have no idea how to fix that, any ideas