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
|
|
@ -67,7 +67,7 @@ namespace Server.SkillHandlers
|
|||
{
|
||||
string message = String.Format( "You notice {0} attempting to peek into {1}'s belongings.", from.Name, root.Name );
|
||||
|
||||
IPooledEnumerable eable = map.GetClientsInRange( from.Location, 8 );
|
||||
IPooledEnumerable<NetState> eable = map.GetClientsInRange( from.Location, 8 );
|
||||
|
||||
foreach ( NetState ns in eable )
|
||||
{
|
||||
|
|
@ -103,4 +103,4 @@ namespace Server.SkillHandlers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue