Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 • committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -162,7 +162,7 @@ namespace Server.Items
{
if (house.Public || !house.IsAosRules)
{
return !house.IsBanned(@from);
return !house.IsBanned(from);
}
return house.HasAccess(from);
@ -174,15 +174,15 @@ namespace Server.Items
if (house?.HasLockedDownItem(this) != true)
{
@from.SendLocalizedMessage(1062396); // This bulletin board must be locked down in a house to be usable.
from.SendLocalizedMessage(1062396); // This bulletin board must be locked down in a house to be usable.
}
else if (!from.InRange(GetWorldLocation(), 2) || !from.InLOS(this))
{
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
}
else if (CheckAccess(house, from))
{
@from.SendGump(new PlayerBBGump(@from, house, this, 0));
from.SendGump(new PlayerBBGump(from, house, this, 0));
}
}