summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/Mod.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-10 05:55:55 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-10 05:55:55 +0200
commit44db72ead568fe7ce22e1999aac02fd9aac9beea (patch)
treeb03d7fa01a0b2ef772c2770e2db99bc8aa69c768 /logic/minecraft/Mod.cpp
parent4fbcb3efb90368c084946600afdca05ca7c65519 (diff)
downloadMultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.gz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.lz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.xz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.zip
GH-93 add an option to not copy saves on instance copy
Diffstat (limited to 'logic/minecraft/Mod.cpp')
-rw-r--r--logic/minecraft/Mod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/Mod.cpp b/logic/minecraft/Mod.cpp
index 879ca195..9b9f76f9 100644
--- a/logic/minecraft/Mod.cpp
+++ b/logic/minecraft/Mod.cpp
@@ -278,7 +278,7 @@ bool Mod::replace(Mod &with)
}
if (t == MOD_FOLDER)
{
- success = FS::copyPath(with.m_file.filePath(), m_file.path());
+ success = FS::copy(with.m_file.filePath(), m_file.path())();
}
if (success)
{