wrap enum

This should improve the boilerplate needed to define enums with methods

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2026-02-19 22:20:31 +02:00
parent 323c25d83b
commit c8f23c691a
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
22 changed files with 192 additions and 192 deletions

View file

@ -291,7 +291,7 @@ QByteArray ModrinthPackExportTask::generateIndex()
// a server side mod does not imply that the mod does not work on the client
// however, if a mrpack mod is marked as server-only it will not install on the client
if (iterator->side == ModPlatform::Side::ClientSide)
if (iterator->side == ModPlatform::SideType::ClientSide)
env["server"] = "unsupported";
fileOut["env"] = env;