fix clang-format failing

This commit is contained in:
cullvox 2023-09-09 19:50:13 -04:00
parent 04aa0155bf
commit 05f4214cc5

View File

@ -204,8 +204,7 @@ bool processMCMeta(ResourcePack& pack, QByteArray&& raw_data)
for (const QJsonValue& dict : arr) { for (const QJsonValue& dict : arr) {
// must be an object, for a dictionary // must be an object, for a dictionary
if (!dict.isObject()) if (!dict.isObject()) {
{
qWarning() << "Invalid component object."; qWarning() << "Invalid component object.";
continue; continue;
} }
@ -213,8 +212,7 @@ bool processMCMeta(ResourcePack& pack, QByteArray&& raw_data)
auto obj = dict.toObject(); auto obj = dict.toObject();
auto val = obj.value(obj.keys()[0]); auto val = obj.value(obj.keys()[0]);
if (!val.isString()) if (!val.isString()) {
{
qWarning() << "Invalid text description type in components."; qWarning() << "Invalid text description type in components.";
continue; continue;
} }