Skip to content

Commit ebc7598

Browse files
author
尧杰 曾
committed
Change code location
1 parent 057291e commit ebc7598

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CDK/CDKCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ public void Execute(IRocketPlayer caller,string[] args)
5353
case DatabaseManager.RedeemCDKResult.PlayerNotMatch:
5454
UnturnedChat.Say(caller, Main.Instance.Translate("player_not_match"), UnityEngine.Color.red);
5555
break;
56+
case DatabaseManager.RedeemCDKResult.KeyNotValid:
57+
UnturnedChat.Say(caller, Main.Instance.Translate("cdk_config_error"), UnityEngine.Color.red);
58+
break;
5659
}
5760
}
5861
else

CDK/DatabaseManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public RedeemCDKResult RedeemCDK(UnturnedPlayer player, string CDK)
8080
{
8181
if (!KeyVailed(cdkdata))
8282
{
83-
UnturnedChat.Say(player, Main.Instance.Translate("cdk_config_error"), UnityEngine.Color.red);
8483
return RedeemCDKResult.KeyNotValid;
8584
}
8685
else

CDK/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
3333
//通过使用 "*",如下所示:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.2.2.0")]
36-
[assembly: AssemblyFileVersion("3.2.2.0")]
35+
[assembly: AssemblyVersion("3.2.2.1")]
36+
[assembly: AssemblyFileVersion("3.2.2.1")]

0 commit comments

Comments
 (0)