Skip to content

Commit a2cf83e

Browse files
author
尧杰 曾
committed
Fix bug for PermissionSync
1 parent 40ab67f commit a2cf83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CDK/DatabaseManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public RedeemCDKResult RedeemCDK(UnturnedPlayer player, string CDK)
154154
public void CheckValid(UnturnedPlayer player)
155155
{
156156
LogData logData = GetLogData(player.CSteamID,ELogQueryType.ByTime);
157-
if (logData != null && logData.GrantPermissionGroup != string.Empty)
157+
if (logData != null && logData.GrantPermissionGroup != string.Empty && !logData.UsePermissionSync)
158158
{
159159
do
160160
{

0 commit comments

Comments
 (0)