Skip to content

Commit

Permalink
Change code location
Browse files Browse the repository at this point in the history
  • Loading branch information
尧杰 曾 committed Aug 16, 2022
1 parent 057291e commit ebc7598
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CDK/CDKCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ public void Execute(IRocketPlayer caller,string[] args)
case DatabaseManager.RedeemCDKResult.PlayerNotMatch:
UnturnedChat.Say(caller, Main.Instance.Translate("player_not_match"), UnityEngine.Color.red);
break;
case DatabaseManager.RedeemCDKResult.KeyNotValid:
UnturnedChat.Say(caller, Main.Instance.Translate("cdk_config_error"), UnityEngine.Color.red);
break;
}
}
else
Expand Down
1 change: 0 additions & 1 deletion CDK/DatabaseManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public RedeemCDKResult RedeemCDK(UnturnedPlayer player, string CDK)
{
if (!KeyVailed(cdkdata))
{
UnturnedChat.Say(player, Main.Instance.Translate("cdk_config_error"), UnityEngine.Color.red);
return RedeemCDKResult.KeyNotValid;
}
else
Expand Down
4 changes: 2 additions & 2 deletions CDK/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.2.2.0")]
[assembly: AssemblyFileVersion("3.2.2.0")]
[assembly: AssemblyVersion("3.2.2.1")]
[assembly: AssemblyFileVersion("3.2.2.1")]

0 comments on commit ebc7598

Please sign in to comment.