tool and ToolItem apply item aliases

master
Kahrl 2012-01-22 15:13:00 +01:00 committed by Perttu Ahola
parent c241902b40
commit 00bc9a8678
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef)
count = 1;
// Then read wear
fnd.skip_over(" ");
name = itemdef->getAlias(name);
wear = stoi(trim(fnd.next("")));
}
else