Spelling fix.

This commit is contained in:
preble 2010-11-02 18:45:45 -04:00
parent c76e917944
commit 2999419e10
2 changed files with 3 additions and 1 deletions

View File

@ -139,6 +139,8 @@
error:&error];
NSMutableDictionary *building = [NSMutableDictionary dictionary];
[lines enumerateLinesUsingBlock:^(NSString *line, BOOL *stop) {
if ([line hasPrefix:@"#"]) // ignore lines with a # prefix
return;
NSArray *components = [line componentsSeparatedByString:@","];
NSNumber *itemId = [NSNumber numberWithShort:[[components objectAtIndex:0] intValue]];
NSString *name = [components objectAtIndex:1];

View File

@ -89,7 +89,7 @@
268,Wooden Sword
269,Wooden Spade
270,Wooden Pickaxe
271,Woord Axe
271,Wooden Axe
272,Stone Sword
273,Stone Spade
274,Stone Pickaxe

1 1 Stone
89 268 Wooden Sword
90 269 Wooden Spade
91 270 Wooden Pickaxe
92 271 Woord Axe Wooden Axe
93 272 Stone Sword
94 273 Stone Spade
95 274 Stone Pickaxe