Refactor Resolve and IEntity in SolutionContainerSystem (#5083)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Content.Server.Botany.Components
|
||||
sprite.LayerSetState(0, Seed.PlantIconState);
|
||||
}
|
||||
|
||||
var solutionContainer = EntitySystem.Get<SolutionContainerSystem>().EnsureSolution(Owner, SolutionName);
|
||||
var solutionContainer = EntitySystem.Get<SolutionContainerSystem>().EnsureSolution(Owner.Uid, SolutionName);
|
||||
if (solutionContainer == null)
|
||||
{
|
||||
Logger.Warning($"No solution container found in {nameof(ProduceComponent)}.");
|
||||
|
||||
Reference in New Issue
Block a user