public static void GiveMoney(uint howMuch, NetworkUser offender = null) { if (offender == null) { return; } if (_player == null) { var logAct = new Console.Log { message = "No-one to give money to!" }; Console.HandleLog(logAct.message, logAct.stackTrace, logAct.logType); return; } var log = new Console.Log { message = offender != null ? $"Giving {howMuch} currency to {offender.userName}!" : $"Giving {howMuch} currency to anon :o " }; Console.HandleLog(log.message, log.stackTrace, log.logType); _player.GiveMoney(howMuch); }