Skip to content

Commit c9c8289

Browse files
Update FriendlyFireMethod.cs
1 parent 75b5b5b commit c9c8289

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Code/MethodSystem/Methods/RoundMethods/FriendlyFireMethod.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using JetBrains.Annotations;
2+
using LabApi.Features.Wrappers;
23
using SER.Code.ArgumentSystem.Arguments;
34
using SER.Code.ArgumentSystem.BaseArguments;
45
using SER.Code.MethodSystem.BaseMethods.Synchronous;
@@ -17,7 +18,6 @@ public class FriendlyFireMethod : SynchronousMethod
1718

1819
public override void Execute()
1920
{
20-
ServerConsole.FriendlyFire = Args.GetBool("enabled?");
21-
ServerConfigSynchronizer.Singleton.RefreshMainBools();
21+
Server.FriendlyFire = Args.GetBool("enabled?");
2222
}
2323
}

0 commit comments

Comments
 (0)