fix(content): Localizes some messages and cleans up virtues (#657)

This commit is contained in:
Kamron Batman 2021-07-11 23:10:54 -07:00 • committed by GitHub
parent fb915992dd
commit f8820e581a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 122 additions and 80 deletions

View file

@ -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))
{