summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ProfilePatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/ProfilePatch.cpp')
-rw-r--r--api/logic/minecraft/ProfilePatch.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/logic/minecraft/ProfilePatch.cpp b/api/logic/minecraft/ProfilePatch.cpp
index 3ca2ac68..a2605278 100644
--- a/api/logic/minecraft/ProfilePatch.cpp
+++ b/api/logic/minecraft/ProfilePatch.cpp
@@ -17,6 +17,11 @@ ProfilePatch::ProfilePatch(std::shared_ptr<VersionFile> file, const QString& fil
{
}
+std::shared_ptr<Meta::Version> ProfilePatch::getMeta()
+{
+ return m_metaVersion;
+}
+
void ProfilePatch::applyTo(MinecraftProfile* profile)
{
auto vfile = getVersionFile();