Removal of Logging of worlds for testing on what region I should needed
This commit is contained in:
@@ -131,7 +131,7 @@ internal class ContextMenu : IHostedService
|
||||
var receiverCid = DalamudUtilService.GetHashedCIDFromPlayerPointer(targetData.Address);
|
||||
|
||||
_logger.LogInformation("Sending pair request: sender {SenderCid}, receiver {ReceiverCid}", senderCid, receiverCid);
|
||||
await _apiController.TryPairWithContentId(receiverCid, senderCid);
|
||||
await _apiController.TryPairWithContentId(receiverCid, senderCid).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -160,12 +160,6 @@ internal class ContextMenu : IHostedService
|
||||
return x.DataCenter.Value.Region != 5 || x.RowId > 3001 && x.RowId != 1200 && IsChineseJapaneseKoreanString(name);
|
||||
});
|
||||
|
||||
foreach (var world in luminaWorlds)
|
||||
{
|
||||
_logger.LogInformation(message: $"ID: {world.RowId} - World: {world.Name.ExtractText()}");
|
||||
}
|
||||
_logger.LogInformation(message: $"Character is in World: {worldId}");
|
||||
|
||||
return luminaWorlds.FirstOrDefault(x => x.RowId == worldId);
|
||||
}
|
||||
private static bool IsChineseJapaneseKoreanString(string text) => text.All(IsChineseJapaneseKoreanCharacter);
|
||||
|
||||
Reference in New Issue
Block a user