public static bool DeleteCharacter(int id) { lock (_chars) { if (!ServerDB.DeleteCharacter(id)) { return(false); } _chars.Remove(id); return(true); } }