APIDump: Fixed operator == rename having bad DocID.
This commit is contained in:
parent
709097c99f
commit
02c41b6f1d
@ -674,8 +674,12 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(),
|
|||||||
]],
|
]],
|
||||||
Functions =
|
Functions =
|
||||||
{
|
{
|
||||||
constructor = { Params = "", Return = "cEnchantments", Notes = "Creates a new empty cEnchantments object" },
|
constructor =
|
||||||
constructor = { Params = "StringSpec", Return = "cEnchantments", Notes = "Creates a new cEnchantments object filled with enchantments based on the string description" },
|
{
|
||||||
|
{ Params = "", Return = "cEnchantments", Notes = "Creates a new empty cEnchantments object" },
|
||||||
|
{ Params = "StringSpec", Return = "cEnchantments", Notes = "Creates a new cEnchantments object filled with enchantments based on the string description" },
|
||||||
|
},
|
||||||
|
operator_eq = { Params = "OtherEnchantments", Return = "bool", Notes = "Returns true if this enchantments object has the same enchantments as OtherEnchantments." },
|
||||||
AddFromString = { Params = "StringSpec", Return = "", Notes = "Adds the enchantments in the string description into the object. If a specified enchantment already existed, it is overwritten." },
|
AddFromString = { Params = "StringSpec", Return = "", Notes = "Adds the enchantments in the string description into the object. If a specified enchantment already existed, it is overwritten." },
|
||||||
Clear = { Params = "", Return = "", Notes = "Removes all enchantments" },
|
Clear = { Params = "", Return = "", Notes = "Removes all enchantments" },
|
||||||
GetLevel = { Params = "EnchantmentNumID", Return = "number", Notes = "Returns the level of the specified enchantment stored in this object; 0 if not stored" },
|
GetLevel = { Params = "EnchantmentNumID", Return = "number", Notes = "Returns the level of the specified enchantment stored in this object; 0 if not stored" },
|
||||||
|
@ -363,7 +363,7 @@ function ReadDescriptions(a_API)
|
|||||||
fn.DocID = "operator_sub";
|
fn.DocID = "operator_sub";
|
||||||
fn.Name = "<i>operator -</i>";
|
fn.Name = "<i>operator -</i>";
|
||||||
elseif (fn.Name == ".eq") then
|
elseif (fn.Name == ".eq") then
|
||||||
fn.DocID = "operator_sub";
|
fn.DocID = "operator_eq";
|
||||||
fn.Name = "<i>operator ==</i>";
|
fn.Name = "<i>operator ==</i>";
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user