From d7649f1ebb4fdb3ce4230a2dae8151178a888995 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 1 Jan 2022 01:53:23 -0800 Subject: [PATCH] null check for dithering oops --- QSB/Player/PlayerInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QSB/Player/PlayerInfo.cs b/QSB/Player/PlayerInfo.cs index 856563a9..7c695242 100644 --- a/QSB/Player/PlayerInfo.cs +++ b/QSB/Player/PlayerInfo.cs @@ -29,7 +29,7 @@ namespace QSB.Player public ClientState State { get; set; } public EyeState EyeState { get; set; } public bool IsDead { get; set; } - public bool Visible => DitheringAnimator._visible; + public bool Visible => DitheringAnimator != null && DitheringAnimator._visible; public bool IsReady { get; set; } public bool IsInMoon { get; set; } public bool IsInShrine { get; set; }