Changed the method from NetItem.Build to NetItem.ToItem.

This commit is contained in:
AkjaHAsLk1IALk0MasH 2023-06-06 19:15:58 +07:00
parent 7ab0570786
commit 914d743264

View file

@ -178,7 +178,7 @@ namespace TShockAPI
/// </summary>
/// <returns>A copy of the item.</returns>
/// <exception cref="Exception">If the item ID is 0.</exception>
public Item Build()
public Item ToItem()
{
if (_netId == 0)
throw new Exception("It is impossible to create an item whose ID is 0.");