fix: Fixes string interpolation in value string builder (#1339)
This commit is contained in:
parent
b46544d752
commit
f24c6a08dd
9 changed files with 87 additions and 242 deletions
|
|
@ -71,7 +71,7 @@ namespace Server.SkillHandlers
|
|||
|
||||
if (c.Looters.Count > 0)
|
||||
{
|
||||
using var sb = new ValueStringBuilder(stackalloc char[128]);
|
||||
var sb = ValueStringBuilder.Create(128);
|
||||
int i = 0;
|
||||
foreach (var looter in c.Looters)
|
||||
{
|
||||
|
|
@ -93,6 +93,7 @@ namespace Server.SkillHandlers
|
|||
|
||||
// This body has been disturbed by ~1_PLAYER_NAMES~
|
||||
from.SendLocalizedMessage(1042752, sb.ToString());
|
||||
sb.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue