Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Sep 8, 2024
1 parent 10d2749 commit 425b819
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/CS2/Commands/GangCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ namespace Commands;

public class GangCommand(IGangManager gangMgr, IStringLocalizer locale)
: ICommand {
public static readonly string PREFIX =
$" {ChatColors.Red}GANGS {ChatColors.DarkRed}> {ChatColors.Grey}";

private readonly Dictionary<string, ICommand> sub = new() {
// ["delete"] = new DeleteGangCommand(),
// ["invite"] = new InviteGangCommand(),
Expand All @@ -31,7 +28,6 @@ public class GangCommand(IGangManager gangMgr, IStringLocalizer locale)
private IStringLocalizer myLocale = locale;

public void Start(BasePlugin? plugin, bool hotReload) {
Console.WriteLine("GangCommand loaded with plugin: " + plugin);
if (plugin != null) myLocale = plugin?.Localizer ?? myLocale;
}

Expand Down
2 changes: 0 additions & 2 deletions src/GangsAPI/Data/Command/CommandInfoWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public CommandInfoWrapper(PlayerWrapper? executor, int offset = 0,
CallingPlayer = executor;
this.offset = offset;
this.args = args;

Console.WriteLine($"CommandInfoWrapper: {CallingPlayer} {offset} {args}");
if (offset == 0 && args.Length > 0) this.args[0] = args[0].ToLower();
}

Expand Down

0 comments on commit 425b819

Please sign in to comment.