fix: Fixes axes not working when equipped or in backpack (#2112)
This commit is contained in:
parent
b83c52a7b1
commit
d407847fc4
18 changed files with 224 additions and 227 deletions
|
|
@ -361,17 +361,17 @@ public abstract partial class BaseBeverage : Item, IHasQuantity
|
|||
}
|
||||
}
|
||||
|
||||
if (from.Map != Map || !from.InRange(GetWorldLocation(), 2) || !from.InLOS(this))
|
||||
if (from.Map == Map && from.InRange(GetWorldLocation(), 2) && from.InLOS(this))
|
||||
{
|
||||
if (message)
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
if (message)
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual void Fill_OnTarget(Mobile from, object targ)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue