diff options
Diffstat (limited to 'logic/minecraft/VersionFile.h')
-rw-r--r-- | logic/minecraft/VersionFile.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/minecraft/VersionFile.h b/logic/minecraft/VersionFile.h index 9a6c5d3c..96856891 100644 --- a/logic/minecraft/VersionFile.h +++ b/logic/minecraft/VersionFile.h @@ -53,9 +53,18 @@ public: /* methods */ { return filename; } + virtual bool isCustom() + { + return !isVanilla; + }; + void setVanilla (bool state) + { + isVanilla = state; + } public: /* data */ int order = 0; + bool isVanilla = false; QString name; QString fileId; QString version; |