Fixes dictionary uses (#7)
This commit is contained in:
parent
d4a52344f2
commit
916d404c51
161 changed files with 1211 additions and 1722 deletions
|
|
@ -43,9 +43,9 @@ namespace Server.SkillHandlers
|
|||
public static bool IsEmpty(BaseBook book)
|
||||
{
|
||||
foreach (BookPageInfo page in book.Pages)
|
||||
foreach (string line in page.Lines)
|
||||
if (line.Trim().Length != 0)
|
||||
return false;
|
||||
foreach (string line in page.Lines)
|
||||
if (line.Trim().Length != 0)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -170,4 +170,4 @@ namespace Server.SkillHandlers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue