1
0

Added missing return types and fixed param types (#4996)

This commit is contained in:
Lukas Pioch
2020-10-13 22:59:11 +02:00
committed by GitHub
parent 9419c78609
commit aee4778bf7
3 changed files with 41 additions and 34 deletions

View File

@@ -806,37 +806,14 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Params =
{
{
Name = "BlockX",
Type = "number",
},
{
Name = "BlockY",
Type = "number",
},
{
Name = "BlockZ",
Type = "number",
Name = "BlockPos",
Type = "Vector3i",
},
{
Name = "BlockMeta",
Type = "number",
},
},
Returns =
{
{
Name = "BlockX",
Type = "number",
},
{
Name = "BlockY",
Type = "number",
},
{
Name = "BlockZ",
Type = "number",
},
},
Notes = "Adjusts the block coords to where the dropspenser items materialize",
},
},
@@ -1586,11 +1563,11 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Type = "number",
},
},
Notes = "Returns the current pitch set for the block",
Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:GetNote. Returns the current pitch set for the block",
},
IncrementPitch =
{
Notes = "Adds 1 to the current pitch. Wraps around to 0 when the pitch cannot go any higher.",
Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:IncrementNote. Adds 1 to the current pitch. Wraps around to 0 when the pitch cannot go any higher.",
},
MakeSound =
{
@@ -1605,7 +1582,7 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
Type = "number",
},
},
Notes = "Sets a new note for the block.",
Notes = "(<b>DEPRECATED</b>) Please use cNoteEntity:SetNote. Sets a new note for the block.",
},
},
Inherits = "cBlockEntity",