MCBTay / XLGearModifier

A mod to add custom meshes into the gear menu of SkaterXL, allowing the ability to custom texture these meshes through the Gear folder.
8 stars 6 forks source link

When using Prepare XLGM Skater, Add Duplicate Material IDs and Log Error #115

Closed MCBTay closed 2 years ago

MCBTay commented 2 years ago

https://github.com/MCBTay/XLGearModifier/blob/a4421f6efb39139dc3bd310c29202dcf750f6f17/XLGearModifier.Gear/Assets/Assembly/XLGMMetadata.cs#:~:text=x.materialID%20%3D%3D%20materialId)%3B-,if%20(materialController%20%3D%3D%20null),%7D,-materialController.FindTargets()%3B

Update this code such that the duplicate material controller will get added, and log an error stating which skater and which material ID there were duplicates for.

redgouf commented 2 years ago

This is working as expected. Screenshot_10