diff --git a/Torch/Commands/TorchCommands.cs b/Torch/Commands/TorchCommands.cs index 52733be..a79be3c 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;