December 2014 files

This commit is contained in:
Loki Rautio
2026-03-01 11:00:23 -06:00
parent b691c43c44
commit 8fd3ac6e37
2049 changed files with 260190 additions and 134787 deletions

View File

@@ -43,9 +43,9 @@ ListTag<CompoundTag> *EnchantedBookItem::getEnchantments(shared_ptr<ItemInstance
return (ListTag<CompoundTag> *) item->tag->get((wchar_t *)TAG_STORED_ENCHANTMENTS.c_str());
}
void EnchantedBookItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings)
void EnchantedBookItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<HtmlString> *lines, bool advanced)
{
Item::appendHoverText(itemInstance, player, lines, advanced, unformattedStrings);
Item::appendHoverText(itemInstance, player, lines, advanced);
ListTag<CompoundTag> *list = getEnchantments(itemInstance);
@@ -59,8 +59,7 @@ void EnchantedBookItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, s
if (Enchantment::enchantments[type] != NULL)
{
lines->push_back(Enchantment::enchantments[type]->getFullname(level, unformatted));
unformattedStrings.push_back(unformatted);
lines->push_back(Enchantment::enchantments[type]->getFullname(level));
}
}
}