mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-29 12:35:39 +00:00
ChangeTile now ignores duplicate values (for Flowing textures)
This commit is contained in:
@@ -63,10 +63,11 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
{
|
||||
foreach ((int i, var content) in textureInfos.enumerate())
|
||||
{
|
||||
if (!string.IsNullOrEmpty(content.DisplayName))
|
||||
if (!string.IsNullOrEmpty(content.DisplayName) && !collection.ContainsKey(content.DisplayName))
|
||||
{
|
||||
TreeNode tileNode = new TreeNode(content.DisplayName)
|
||||
{
|
||||
Name = content.DisplayName,
|
||||
Tag = content.DisplayName,
|
||||
ImageIndex = i,
|
||||
SelectedImageIndex = i,
|
||||
|
||||
Reference in New Issue
Block a user