Update hard limit of Villager greetings. Closes #375

This commit is contained in:
berichan 2021-02-07 15:32:56 +00:00
parent 838073576d
commit 670d568482

View File

@ -58,7 +58,7 @@ public string NickName
public string GetGreeting(in int index)
{
var offset = GetGreetingOffset(index);
return StringUtil.GetString(Data, offset, 10);
return StringUtil.GetString(Data, offset, 22); // s_f6bf402b char16[48]. Render limit in-game is 22 char16s
}
private static int GetGreetingOffset(in int index)