1
0

Corrected invalid syntax for return types in APIDoc (#4989)

This commit is contained in:
Lukas Pioch 2020-10-11 11:44:33 +02:00 committed by GitHub
parent c0711407e9
commit c8a1cda48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1369,7 +1369,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number", {
Type = "number",
}
}, },
Notes = "Returns the number of entities the spawner will try to spawn on each activation.", Notes = "Returns the number of entities the spawner will try to spawn on each activation.",
}, },
@ -1377,7 +1379,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number", {
Type = "number",
}
}, },
Notes = "Returns half the length of the square the spawner tries to spawn entities in.", Notes = "Returns half the length of the square the spawner tries to spawn entities in.",
}, },
@ -1395,7 +1399,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number", {
Type = "number",
}
}, },
Notes = "Returns the minimum number of ticks the spawner waits until spawning new entities automatically.", Notes = "Returns the minimum number of ticks the spawner waits until spawning new entities automatically.",
}, },
@ -1403,7 +1409,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number", {
Type = "number",
}
}, },
Notes = "Returns the maximum number of ticks the spawner waits until spawning new entities automatically.", Notes = "Returns the maximum number of ticks the spawner waits until spawning new entities automatically.",
}, },
@ -1411,7 +1419,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number", {
Type = "number",
}
}, },
Notes = "Returns the maximum number of entities of the same type that can be present before the spawner cannot spawn more entities.", Notes = "Returns the maximum number of entities of the same type that can be present before the spawner cannot spawn more entities.",
}, },
@ -1419,7 +1429,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
{ {
Returns = Returns =
{ {
Type = "number" {
Type = "number"
}
}, },
Notes = "Returns the maximum euclidean distance from a player where the spawner can be activated.", Notes = "Returns the maximum euclidean distance from a player where the spawner can be activated.",
}, },