From 7ac1ad9fa54a2810ab1ea299770201086ec9a392 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Thu, 6 Jan 2022 18:26:14 -0800 Subject: [PATCH] fix nre --- QSB/QuantumSync/WorldObjects/QSBQuantumObject.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QSB/QuantumSync/WorldObjects/QSBQuantumObject.cs b/QSB/QuantumSync/WorldObjects/QSBQuantumObject.cs index 71e94944..9fb6dbb1 100644 --- a/QSB/QuantumSync/WorldObjects/QSBQuantumObject.cs +++ b/QSB/QuantumSync/WorldObjects/QSBQuantumObject.cs @@ -205,6 +205,11 @@ namespace QSB.QuantumSync.WorldObjects public override void DisplayLines() { + if (QSBPlayerManager.LocalPlayer.Body == null) + { + return; + } + if (ControllingPlayer == 0) { if (IsEnabled)