fix crash in gm command thing, commit stupid shit i havent figured out yet

This commit is contained in:
Tahir Akhlaq 2017-08-21 00:40:41 +01:00
parent 1856cc0634
commit a89fc64555
7 changed files with 52 additions and 31 deletions

View file

@ -47,10 +47,10 @@ namespace FFXIVClassic_Map_Server
split = split.ToArray(); // Ignore case on commands
var cmd = split[0];
if (cmd.Any())
if (split.Length > 0)
{
var cmd = split[0];
// if client isnt null, take player to be the player actor
Player player = null;
if (session != null)