inventorysetup: Null check panel
This commit is contained in:
@@ -366,6 +366,12 @@ public class InventorySetupPlugin extends Plugin
|
|||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (panel == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final String setupName = panel.getSelectedInventorySetup();
|
final String setupName = panel.getSelectedInventorySetup();
|
||||||
if (!setupName.isEmpty())
|
if (!setupName.isEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user