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

@ -1368,16 +1368,20 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
GetSpawnCount = GetSpawnCount =
{ {
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.",
}, },
GetSpawnRange = GetSpawnRange =
{ {
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.",
}, },
@ -1394,32 +1398,40 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
GetMinSpawnDelay = GetMinSpawnDelay =
{ {
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.",
}, },
GetMaxSpawnDelay = GetMaxSpawnDelay =
{ {
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.",
}, },
GetMaxNearbyEntities = GetMaxNearbyEntities =
{ {
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.",
}, },
GetRequiredPlayerRange = GetRequiredPlayerRange =
{ {
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.",
}, },