inventorysetup: Null check panel

This commit is contained in:
Owain van Brakel
2019-09-16 01:21:23 +02:00
parent 7c4f1ae253
commit d729e4ede2

View File

@@ -366,6 +366,12 @@ public class InventorySetupPlugin extends Plugin
default:
return;
}
if (panel == null)
{
return;
}
final String setupName = panel.getSelectedInventorySetup();
if (!setupName.isEmpty())
{