File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
EXILED/Exiled.Events/EventArgs/Scp079 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ public class RecontainingEventArgs : IDeniableEvent
21
21
/// <param name="recontainer">The <see cref="BreakableWindow"/> instance.</param>
22
22
public RecontainingEventArgs ( BreakableWindow recontainer )
23
23
{
24
- Recontainer = Player . Get ( recontainer ? . LastAttacker . Hub ) ;
24
+ Recontainer = Player . Get ( recontainer . LastAttacker . Hub ) ;
25
+ IsAutomatic = recontainer . LastAttacker . IsSet ;
25
26
}
26
27
27
28
/// <summary>
@@ -36,6 +37,6 @@ public RecontainingEventArgs(BreakableWindow recontainer)
36
37
/// <summary>
37
38
/// Gets a value indicating whether or not the recontained has been made automatically or by triggering the proccess.
38
39
/// </summary>
39
- public bool IsAutomatic => Recontainer is null ;
40
+ public bool IsAutomatic { get ; }
40
41
}
41
42
}
You can’t perform that action at this time.
0 commit comments