mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-07 20:48:22 +00:00
Fix for crash when double clicking a non animation texture file
This commit is contained in:
@@ -352,6 +352,8 @@ namespace PckStudio
|
||||
file = originalAnimationFile;
|
||||
}
|
||||
|
||||
if (!(file.Filename.StartsWith("res/textures/blocks/") || file.Filename.StartsWith("res/textures/items/"))) return;
|
||||
|
||||
using (AnimationEditor animationEditor = new AnimationEditor(file))
|
||||
{
|
||||
if (animationEditor.ShowDialog(this) == DialogResult.OK)
|
||||
|
||||
Reference in New Issue
Block a user