From 38d61dc1e85111beaa05b8d31a9935e4894d1fd0 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sat, 30 Jul 2022 00:00:45 +0200 Subject: [PATCH] Fix Drag n' drop feature bypassing password check --- MinecraftUSkinEditor/MainForm.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MinecraftUSkinEditor/MainForm.cs b/MinecraftUSkinEditor/MainForm.cs index a36ceb38..299888b1 100644 --- a/MinecraftUSkinEditor/MainForm.cs +++ b/MinecraftUSkinEditor/MainForm.cs @@ -2844,7 +2844,10 @@ namespace PckStudio if (FileList.Length > 1) MessageBox.Show("Only one pck file at a time is currently supported"); currentPCK = openPck(FileList[0]); - LoadEditorTab(); + if (checkForPassword()) + { + LoadEditorTab(); + } } private void OpenPck_DragLeave(object sender, EventArgs e)