Skip to content

Commit b142b4e

Browse files
fix EXILED compiling
1 parent 5f1adb9 commit b142b4e

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Code/Plugin/Config.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ namespace SER.Code.Plugin;
77

88
#if EXILED
99
public class Config : IConfig
10-
#endif
10+
#else
1111
public class Config
12+
#endif
1213
{
1314
public bool IsEnabled { get; set; } = true;
1415

Code/Plugin/MainPlugin.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using LabApi.Events.Arguments.PlayerEvents;
1+
using Exiled.API.Features;
2+
using LabApi.Events.Arguments.PlayerEvents;
23
using LabApi.Events.CustomHandlers;
3-
using LabApi.Features;
44
using LabApi.Features.Console;
55
using MEC;
66
using SER.Code.Extensions;
@@ -26,8 +26,6 @@ public class MainPlugin : LabApi.Loader.Features.Plugins.Plugin<Config>
2626
public override string Description => "The scripting language for SCP:SL.";
2727
public override Version RequiredApiVersion => LabApiProperties.CurrentVersion;
2828
#else
29-
using Exiled.API.Features;
30-
3129
public class MainPlugin : Plugin<Config>
3230
{
3331
#endif

0 commit comments

Comments
 (0)