fix QSBTool nre

This commit is contained in:
JohnCorby 2022-05-30 12:33:13 -07:00
parent a6bd9d800f
commit ddc96a9332

View File

@ -48,7 +48,7 @@ public class QSBTool : PlayerTool
public virtual void OnEnable()
{
if (!Player.FlyingShip)
if (!Player?.FlyingShip ?? false)
{
ToolGameObject?.SetActive(true);
}