Added missing return types and fixed param types (#4996)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user