project(ui): Null check frame

This commit is contained in:
Owain van Brakel
2022-04-29 20:45:55 +02:00
parent 508dfbe0c3
commit 730f867b3e

View File

@@ -1199,6 +1199,11 @@ public class ClientUI
private void setOpacity()
{
if (frame == null)
{
return;
}
SwingUtilities.invokeLater(() ->
{
try