1
0
Fork 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
1 changed files with 18 additions and 6 deletions

View File

@ -1368,16 +1368,20 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
GetSpawnCount =
{
Returns =
{
{
Type = "number",
}
},
Notes = "Returns the number of entities the spawner will try to spawn on each activation.",
},
GetSpawnRange =
{
Returns =
{
{
Type = "number",
}
},
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 =
{
Returns =
{
{
Type = "number",
}
},
Notes = "Returns the minimum number of ticks the spawner waits until spawning new entities automatically.",
},
GetMaxSpawnDelay =
{
Returns =
{
{
Type = "number",
}
},
Notes = "Returns the maximum number of ticks the spawner waits until spawning new entities automatically.",
},
GetMaxNearbyEntities =
{
Returns =
{
{
Type = "number",
}
},
Notes = "Returns the maximum number of entities of the same type that can be present before the spawner cannot spawn more entities.",
},
GetRequiredPlayerRange =
{
Returns =
{
{
Type = "number"
}
},
Notes = "Returns the maximum euclidean distance from a player where the spawner can be activated.",
},