Use 'new' expression in places where the type is evident for content (#2590)
* Content.Client * Content.Benchmarks * Content.IntegrationTests * Content.Server * Content.Server.Database * Content.Shared * Content.Tests * Merge fixes Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -15,8 +15,8 @@ namespace Content.Server.AI.WorldState
|
||||
|
||||
// This also stops you from re-writing the same boilerplate everywhere of stuff like "Do I have OuterClothing on?"
|
||||
|
||||
private readonly Dictionary<Type, IAiState> _states = new Dictionary<Type, IAiState>();
|
||||
private readonly List<IPlanningState> _planningStates = new List<IPlanningState>();
|
||||
private readonly Dictionary<Type, IAiState> _states = new();
|
||||
private readonly List<IPlanningState> _planningStates = new();
|
||||
|
||||
public Blackboard(IEntity owner)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user