fix: Adds ISpanFormattable support to Serial (#1065)
This commit is contained in:
parent
4b2b7e2277
commit
b779d7737f
18 changed files with 269 additions and 204 deletions
|
|
@ -3790,7 +3790,7 @@ namespace Server
|
|||
}
|
||||
}
|
||||
|
||||
public override string ToString() => $"0x{Serial.Value:X} \"{Name}\"";
|
||||
public override string ToString() => $"{Serial} \"{Name}\"";
|
||||
|
||||
public virtual void SendSkillMessage()
|
||||
{
|
||||
|
|
@ -5311,8 +5311,8 @@ namespace Server
|
|||
catch
|
||||
{
|
||||
Console.WriteLine(
|
||||
"Warning: 0x{0:X}: Item must have a zero parameter constructor to be separated from a stack. '{1}'.",
|
||||
oldItem.Serial.Value,
|
||||
"Warning: {0}: Item must have a zero parameter constructor to be separated from a stack. '{1}'.",
|
||||
oldItem.Serial,
|
||||
oldItem.GetType().Name
|
||||
);
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue