fix: Fixes bad localized messages (#1722)
### Summary - Apparently affixes and other old packets do not support unicode, so we can't translate them. On OSI they use English for quite a bit.
This commit is contained in:
parent
6cb18f87fa
commit
c63bf84ad4
2 changed files with 3 additions and 3 deletions
|
|
@ -48,9 +48,9 @@ public class CreateFoodSpell : MagerySpell
|
|||
|
||||
if (Caster.NetState != null)
|
||||
{
|
||||
var foodName = Localization.GetText(food.LabelNumber, Caster.Language);
|
||||
// Not translated to the casters language because affixes are ascii only
|
||||
var foodName = Localization.GetText(food.LabelNumber);
|
||||
|
||||
// Note: On OSI, the food name is not localized.
|
||||
// You magically create food in your backpack:
|
||||
Caster.SendLocalizedMessage(1042695, true, $" {foodName}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue