Skip to content

Commit

Permalink
chore: Update module name to "Damage Informations" and author to use …
Browse files Browse the repository at this point in the history
…team
  • Loading branch information
K4ryuu committed Jul 24, 2024
1 parent d0bb153 commit a35e988
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/K4ryuuDamageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public sealed class PluginConfig : BasePluginConfig
public override int Version { get; set; } = 4;
}

[MinimumApiVersion(153)]
[MinimumApiVersion(244)]
public class DamageInfoPlugin : BasePlugin, IPluginConfig<PluginConfig>
{
public override string ModuleName => "Damage Info";
public override string ModuleName => "Damage Informations";
public override string ModuleVersion => "2.3.3";
public override string ModuleAuthor => "K4ryuu";
public override string ModuleAuthor => "K4ryuu @ KitsuneLab";

public required PluginConfig Config { get; set; } = new PluginConfig();
public CCSGameRules? GameRules;
Expand All @@ -68,9 +68,7 @@ public class DamageInfoPlugin : BasePlugin, IPluginConfig<PluginConfig>
public void OnConfigParsed(PluginConfig config)
{
if (config.Version < Config.Version)
{
base.Logger.LogWarning("Configuration version mismatch (Expected: {0} | Current: {1})", this.Config.Version, config.Version);
}

this.Config = config;
}
Expand Down

0 comments on commit a35e988

Please sign in to comment.