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
|
|
@ -86,7 +86,7 @@ namespace Server.Spells.Spellweaving
|
|||
return true;
|
||||
}
|
||||
|
||||
IPooledEnumerable eable = map.GetItemsInRange( location, 0 ); // Added Tiles
|
||||
IPooledEnumerable<Item> eable = map.GetItemsInRange( location, 0 ); // Added Tiles
|
||||
|
||||
foreach( Item item in eable )
|
||||
{
|
||||
|
|
@ -162,4 +162,4 @@ namespace Server.Spells.Spellweaving
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue