mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 01:06:35 +00:00
Fix for modified collection in CorrectSkinDecimals function
This commit is contained in:
@@ -2113,7 +2113,7 @@ namespace PckStudio
|
||||
if (treeViewMain.SelectedNode.TryGetTagData(out PckFileData file) &&
|
||||
file.Filetype == PckFileType.SkinFile)
|
||||
{
|
||||
foreach (KeyValuePair<string, string> p in file.GetProperties())
|
||||
foreach (KeyValuePair<string, string> p in file.GetProperties().ToList())
|
||||
{
|
||||
if (p.Key == "BOX" || p.Key == "OFFSET")
|
||||
file.SetProperty(file.GetPropertyIndex(p), new KeyValuePair<string, string>(p.Key, p.Value.Replace(',', '.')));
|
||||
|
||||
Reference in New Issue
Block a user