Adds better type support for pooled enumerables. Refactors code. (#16)
This commit is contained in:
parent
62b95f4d74
commit
b06f5bf60d
48 changed files with 252 additions and 243 deletions
|
|
@ -100,7 +100,7 @@ namespace Server.Commands
|
|||
|
||||
public static void Add_Static( int itemID, Point3D location, Map map, string name )
|
||||
{
|
||||
IPooledEnumerable eable = map.GetItemsInRange( location, 0 );
|
||||
IPooledEnumerable<Item> eable = map.GetItemsInRange( location, 0 );
|
||||
|
||||
foreach ( Item item in eable )
|
||||
{
|
||||
|
|
@ -136,4 +136,4 @@ namespace Server.Commands
|
|||
sign.MoveToWorld( location, map );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue