fix(content): Localizes some messages and cleans up virtues (#657)
This commit is contained in:
parent
fb915992dd
commit
f8820e581a
9 changed files with 122 additions and 80 deletions
|
|
@ -23,9 +23,9 @@ namespace Server.Spells.Second
|
|||
|
||||
public void Target(Item item)
|
||||
{
|
||||
if (!(item is TrappableContainer cont))
|
||||
if (item is not TrappableContainer cont)
|
||||
{
|
||||
Caster.SendMessage("You can't trap that"); // TODO: Localization for this?
|
||||
Caster.SendLocalizedMessage(502942); // You can't trap this!
|
||||
}
|
||||
else if (!Caster.CanSee(item))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue