post merge stuff

This commit is contained in:
Pepper0ni 2025-04-02 13:08:10 +01:00
parent 297e2def7f
commit 0a394b0356

View file

@ -413,13 +413,13 @@ oJson Hint::toJSON() {
if (items.size() == 1) { if (items.size() == 1) {
log["item"] = StaticData::GetItemTable()[items[0]] log["item"] = StaticData::GetItemTable()[items[0]]
.GetName() .GetName()
..GetForCurrentLanguage(MF_RAW)); // RANDOTODO change to CustomMessage; .GetForCurrentLanguage(MF_RAW); // RANDOTODO change to CustomMessage;
} else if (items.size() > 1) { } else if (items.size() > 1) {
std::vector<std::string> itemStrings = {}; std::vector<std::string> itemStrings = {};
for (size_t c = 0; c < items.size(); c++) { for (size_t c = 0; c < items.size(); c++) {
itemStrings.push_back(StaticData::GetItemTable()[items[c]] itemStrings.push_back(StaticData::GetItemTable()[items[c]]
.GetName() .GetName()
..GetForCurrentLanguage(MF_RAW))); // RANDOTODO change to CustomMessage .GetForCurrentLanguage(MF_RAW)); // RANDOTODO change to CustomMessage
} }
log["items"] = itemStrings; log["items"] = itemStrings;
} }