Skip to content

Commit

Permalink
Do not submit abyssal equipment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuubari committed Nov 19, 2015
1 parent c9defe1 commit 8f90e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Grabacr07.KanColleWrapper/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public void SendUpdateNotificationIfNeeded()
public void ProcessUnknown(object sender, ProcessUnknownEventArgs args)
{
Debug.WriteLine("Updater: received unknown translation data, type {0}, culture <{1}>, data type <{2}>, JSON <{3}>.", args.TranslationProvider.ToString(), args.Culture, args.RawData.GetType().ToString(), JsonConvert.SerializeObject(args.RawData));
if ((args.TranslationProvider == TranslationProviderType.Equipment) && (args.RawData is kcsapi_mst_slotitem) && (((kcsapi_mst_slotitem)args.RawData).api_name == "???")) return;
if ((args.TranslationProvider == TranslationProviderType.Equipment) && (args.RawData is kcsapi_mst_slotitem) && ((((kcsapi_mst_slotitem)args.RawData).api_name == "???") || (((kcsapi_mst_slotitem)args.RawData).api_sortno == 0) )) return;
unknownStrings.Add(new UnknownStringItem(args.TranslationProvider, args.Culture, args.RawData));
}

Expand Down

0 comments on commit 8f90e7f

Please sign in to comment.