File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace CustomCommands;
1212public partial class CustomCommands : BasePlugin , IPluginConfig < CustomCommandsConfig >
1313{
1414 public override string ModuleName => "CustomCommands" ;
15- public override string ModuleVersion => "1.0.6 " ;
15+ public override string ModuleVersion => "1.0.7 " ;
1616 public override string ModuleAuthor => "HerrMagic" ;
1717 public override string ModuleDescription => "Create your own commands per config" ;
1818
@@ -46,9 +46,13 @@ public override void Load(bool hotReload)
4646
4747 RegisterListeners ( ) ;
4848
49- if ( comms != null )
49+
50+ if ( comms != null )
51+ {
52+ comms = CheckForDuplicateCommands ( comms ) ;
5053 foreach ( var com in comms )
5154 AddCommands ( com ) ;
55+ }
5256
5357 if ( hotReload )
5458 InitializeLists ( ) ;
You can’t perform that action at this time.
0 commit comments