Skip to content

Commit f3a0e60

Browse files
committed
Disable root cloner when Lumina mode is enabled. (Unstable/dangerous)
1 parent e83245a commit f3a0e60

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

xivModdingFramework/Mods/RootCloner.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ public static async Task<Dictionary<string, string>> CloneRoot(XivDependencyRoot
5252
throw new InvalidDataException("Cannot clone unsupported root.");
5353
}
5454

55+
if(XivCache.GameInfo.UseLumina)
56+
{
57+
// Using the root cloner with Lumina import mode enabled is unstable/not safe.
58+
// ( The state of the game files in the TT system may not match the state of the
59+
// Lumina mod setup, and the modlist/etc. can get bashed as this function directly
60+
// modifies the modlist during the cloning process. )
61+
throw new Exception("Item Conversion cannot be used with Lumina import mode.");
62+
}
63+
5564

5665
if (ProgressReporter != null)
5766
{

0 commit comments

Comments
 (0)