From 9f22b63227ed764c37c734b27d63c469e8fe453e Mon Sep 17 00:00:00 2001 From: N1Ran <38772205+N1Ran@users.noreply.github.com> Date: Sat, 21 Sep 2019 10:24:30 -0400 Subject: [PATCH] This fixed it (#346) Let's get this help back online --- Torch/Commands/TorchCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Torch/Commands/TorchCommands.cs b/Torch/Commands/TorchCommands.cs index 6dd3959..0b7645c 100644 --- a/Torch/Commands/TorchCommands.cs +++ b/Torch/Commands/TorchCommands.cs @@ -65,7 +65,7 @@ namespace Torch.Commands var sb = new StringBuilder(); - if (command?.MinimumPromoteLevel > Context.Player.PromoteLevel) + if (Context.Player != null && command?.MinimumPromoteLevel > Context.Player.PromoteLevel) { Context.Respond("You are not authorized to use this command."); return;