fix: /help, /me, and /p commands can't work in non-English languages
This commit is contained in:
parent
0b6bf9ef40
commit
8df09cb4a8
2 changed files with 28 additions and 2 deletions
|
|
@ -1497,11 +1497,11 @@ namespace TShockAPI
|
|||
{
|
||||
if (!String.IsNullOrEmpty(text))
|
||||
{
|
||||
text = item.Key.Value + ' ' + text;
|
||||
text = EnglishLanguage.GetCommandTextByName(item.Value._name) + ' ' + text;
|
||||
}
|
||||
else
|
||||
{
|
||||
text = item.Key.Value;
|
||||
text = EnglishLanguage.GetCommandTextByName(item.Value._name);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue