This fixed it (#346)

Let's get this help back online
This commit is contained in:
N1Ran
2019-09-21 10:24:30 -04:00
committed by Brant Martin
parent dbcd696936
commit 9f22b63227

View File

@@ -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;