This commit is contained in:
parent
34d969712e
commit
d444b9ba5c
70 changed files with 569 additions and 495 deletions
|
|
@ -420,12 +420,12 @@ namespace Server.Engines.Craft
|
|||
int vx = from.X + x;
|
||||
int vy = from.Y + y;
|
||||
|
||||
Tile[] tiles = map.Tiles.GetStaticTiles( vx, vy, true );
|
||||
StaticTile[] tiles = map.Tiles.GetStaticTiles( vx, vy, true );
|
||||
|
||||
for ( int i = 0; i < tiles.Length; ++i )
|
||||
{
|
||||
int z = tiles[i].Z;
|
||||
int id = tiles[i].ID & 0x3FFF;
|
||||
int id = tiles[i].ID;
|
||||
|
||||
if ( (z + 16) > from.Z && (from.Z + 16) > z && Find( id, itemIDs ) )
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue