mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-26 10:57:06 +00:00
Changed check for duplicate names to Internal instead of Display
This commit is contained in:
@@ -63,11 +63,11 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
{
|
||||
foreach ((int i, var content) in textureInfos.enumerate())
|
||||
{
|
||||
if (!string.IsNullOrEmpty(content.DisplayName) && !collection.ContainsKey(content.DisplayName))
|
||||
if (!string.IsNullOrEmpty(content.InternalName) && !collection.ContainsKey(content.InternalName))
|
||||
{
|
||||
TreeNode tileNode = new TreeNode(content.DisplayName)
|
||||
{
|
||||
Name = content.DisplayName,
|
||||
Name = content.InternalName,
|
||||
Tag = content.DisplayName,
|
||||
ImageIndex = i,
|
||||
SelectedImageIndex = i,
|
||||
|
||||
Reference in New Issue
Block a user