sync
This commit is contained in:
parent
b74725a707
commit
9eb49b0447
18 changed files with 242 additions and 165 deletions
|
|
@ -931,7 +931,7 @@ namespace TShockAPI
|
|||
/// <returns>The <paramref name="item"/> NetID surrounded by the item tag with proper stack/prefix data.</returns>
|
||||
public string ItemTag(Item item)
|
||||
{
|
||||
int netID = item.netID;
|
||||
int netID = item.type;
|
||||
int stack = item.stack;
|
||||
int prefix = item.prefix;
|
||||
string options = stack > 1 ? "/s" + stack : prefix != 0 ? "/p" + prefix : "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue