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