https://pastebin.com/Mhhnjaj4 why do i get this error when the world is loaded
```teleport {_p} to ReturnSpawnpoint("Blue", {Map})```
```
function ReturnSpawnpoint(team: text, map: text) :: location:
set {location} to yaml value "%{_map}%.Red-spawnpoint" from "Map-%{_map}%.yml"
#broadcast "dumpling %{_location}%"
return {location}```
```
testworld:
y-level: 3
void: 3
world: ul_Field
file: ul_Field
Red-spawnpoint: !location
world: ul_Field_clone
x: 757.469627965336393
y: 173.5
z: 1116.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871
Blue-spawnpoint: !location
world: ul_Field_clone
x: 758.469627965336393
y: 173.5
z: 1001.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871
enchantment-table: !location
world: ul_Lobby
x: -5.469627965336393
y: 24.5
z: -2.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871```
Pastebin
https://pastebin.com/Mhhnjaj4
My plugins:
```teleport {_p} to ReturnSpawnpoint("Blue", {Map})```
```
function ReturnSpawnpoint(team: text, map: text) :: location:
set {location} to yaml value "%{_map}%.Red-spawnpoint" from "Map-%{_map}%.yml"
#broadcast "dumpling %{_location}%"
return {location}```
```
testworld:
y-level: 3
void: 3
world: ul_Field
file: ul_Field
Red-spawnpoint: !location
world: ul_Field_clone
x: 757.469627965336393
y: 173.5
z: 1116.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871
Blue-spawnpoint: !location
world: ul_Field_clone
x: 758.469627965336393
y: 173.5
z: 1001.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871
enchantment-table: !location
world: ul_Lobby
x: -5.469627965336393
y: 24.5
z: -2.732699076003849
yaw: 144.4515380859375
pitch: 12.553755760192871```
Pastebin
https://pastebin.com/Mhhnjaj4
My plugins:
Last edited: