public override void Process(NetMessage msg) { SendInitRecipesOrder.SendTo( SentByPlayer, SentByPlayer.Script.PlayerCrafting.KnownRecipesByCategory ); }
public override void Process(NetMessage msg) { if (SentByPlayer == null) { return; } if (SentByPlayer.Script == null) { Logger.LogError($"{SentByPlayer.Username} has null script and asked for recipes"); return; } SendInitRecipesOrder.SendTo( SentByPlayer, SentByPlayer.Script.PlayerCrafting.KnownRecipesByCategory ); }