From c8a1cda48cb27692aa8fa210b711140af6791ac9 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Sun, 11 Oct 2020 11:44:33 +0200 Subject: Corrected invalid syntax for return types in APIDoc (#4989) --- Server/Plugins/APIDump/Classes/BlockEntities.lua | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Server/Plugins/APIDump/Classes/BlockEntities.lua b/Server/Plugins/APIDump/Classes/BlockEntities.lua index 98de99bf4..fc4f6ec0b 100644 --- a/Server/Plugins/APIDump/Classes/BlockEntities.lua +++ b/Server/Plugins/APIDump/Classes/BlockEntities.lua @@ -1369,7 +1369,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(), { Returns = { - Type = "number", + { + Type = "number", + } }, 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 = { - Type = "number", + { + Type = "number", + } }, 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 = { - Type = "number", + { + Type = "number", + } }, 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 = { - Type = "number", + { + Type = "number", + } }, 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 = { - 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.", }, @@ -1419,7 +1429,9 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(), { Returns = { - Type = "number" + { + Type = "number" + } }, Notes = "Returns the maximum euclidean distance from a player where the spawner can be activated.", }, -- cgit v1.2.3