fix: Adds FindItemOnLayer generic (#1223)
This commit is contained in:
parent
053dbcbad0
commit
fd6f4239e2
20 changed files with 112 additions and 169 deletions
|
|
@ -109,7 +109,7 @@ namespace Server
|
|||
|
||||
if (archer && from != null)
|
||||
{
|
||||
quiver = from.FindItemOnLayer(Layer.Cloak) as BaseQuiver;
|
||||
quiver = from.FindItemOnLayer<BaseQuiver>(Layer.Cloak);
|
||||
}
|
||||
|
||||
int totalDamage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue