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

@ -26,7 +26,7 @@ namespace Server.Items
if (ret)
{
DestroyItem(@from);
DestroyItem(from);
}
return ret;
@ -38,7 +38,7 @@ namespace Server.Items
if (ret)
{
DestroyItem(@from);
DestroyItem(from);
}
return ret;
@ -50,7 +50,7 @@ namespace Server.Items
if (ret && Parent != from.Backpack)
{
DestroyItem(@from);
DestroyItem(from);
}
return ret;

View file

@ -43,11 +43,11 @@ namespace Server.Engines.MLQuests.Items
{
if (!from.InRange(GetWorldLocation(), 2))
{
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
}
else if (!IsChildOf(from.Backpack))
{
@from.SendLocalizedMessage(1042593); // That is not in your backpack.
from.SendLocalizedMessage(1042593); // That is not in your backpack.
}
else if (MLQuestSystem.Enabled && CanGiveMLQuest && from is PlayerMobile mobile)
{
@ -121,11 +121,11 @@ namespace Server.Engines.MLQuests.Items
{
if (!from.InRange(GetWorldLocation(), 2))
{
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
}
else if (!IsChildOf(from.Backpack))
{
@from.SendLocalizedMessage(1042593); // That is not in your backpack.
from.SendLocalizedMessage(1042593); // That is not in your backpack.
}
else if (MLQuestSystem.Enabled && CanGiveMLQuest && from is PlayerMobile mobile)
{