Add PCKProperties.GetPropertyValue

This commit is contained in:
miku-666
2022-09-20 18:12:58 +02:00
parent 55852a3132
commit 0fad80d787
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -403,8 +403,8 @@ namespace PckStudio
buttonEdit.Visible = true;
}
else if (file.properties.HasProperty("ANIM") &&
(file.properties.GetProperty("ANIM").Item2 == "0x40000" ||
file.properties.GetProperty("ANIM").Item2 == "0x80000"))
(file.properties.GetPropertyValue("ANIM") == "0x40000" ||
file.properties.GetPropertyValue("ANIM") == "0x80000"))
{
buttonEdit.Text = "View Skin";
buttonEdit.Visible = true;