mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-31 19:54:44 +00:00
Fix for a potential crash in BehaviourEditor
This commit is contained in:
@@ -149,6 +149,7 @@ namespace PckStudio.Forms.Editor
|
||||
|
||||
private void changeToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (treeView1.SelectedNode == null) return;
|
||||
if (!(treeView1.SelectedNode.Tag is BehaviourFile.RiderPositionOverride entry)) return;
|
||||
|
||||
var diag = new Additional_Popups.Behaviours.AddBehaviour();
|
||||
|
||||
Reference in New Issue
Block a user