Skip to content

Commit

Permalink
fix: Removes redundant conditional check in house demolish gump (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Dec 4, 2024
1 parent ba2a412 commit 51d15d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Projects/UOContent/Engines/Harvest/Core/HarvestSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ public virtual void FinishHarvesting(Mobile from, Item tool, HarvestDefinition d
{
var bonusItem = Construct(bonus.Type, from);

if (Give(from, bonusItem, true)
) // Bonuses always allow placing at feet, even if pack is full irregrdless of def
// Bonuses always allow placing at feet, even if pack is full irregrdless of def
if (Give(from, bonusItem, true))
{
bonus.SendSuccessTo(from);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public override void OnResponse(NetState state, in RelayInfo info)

if (!from.BankBox.TryDropItem(from, deed, false))
{
deed?.Delete();
deed.Delete();
from.SendLocalizedMessage(500390); // Your bank box is full.
return;
}
Expand Down

0 comments on commit 51d15d2

Please sign in to comment.