new fromspec-based craft guide pt2

This commit is contained in:
darkrose 2014-03-02 22:44:27 +10:00
parent aa92d0d54c
commit e06056ef82
1 changed files with 1 additions and 1 deletions

View File

@ -927,6 +927,7 @@ CraftGuideNodeMetadata::CraftGuideNodeMetadata()
NodeMetadata::registerType(typeId(), create);
m_page = 0;
m_count = 0;
m_inventory = new Inventory();
m_inventory->addList("list", 300);
@ -966,7 +967,6 @@ NodeMetadata* CraftGuideNodeMetadata::clone()
ti++;
l->addItem(t);
}
m_count = ti;
return d;
}
NodeMetadata* CraftGuideNodeMetadata::create(std::istream &is)