Skip to content

Commit

Permalink
Merge pull request NecronomiconCoding#2037 from redChrillz/LatAndLong…
Browse files Browse the repository at this point in the history
…ToPokeStops

Add lat and long to EventFortUsed event
  • Loading branch information
BornSupercharged authored Aug 2, 2016
2 parents 88b7e4e + 8b2ca3f commit 1fc0724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.CLI/ConsoleEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private static void HandleEvent(FortUsedEvent fortUsedEvent, ISession session)
: fortUsedEvent.Items;
Logger.Write(
session.Translation.GetTranslation(TranslationString.EventFortUsed, fortUsedEvent.Name, fortUsedEvent.Exp, fortUsedEvent.Gems,
itemString),
itemString, fortUsedEvent.Latitude, fortUsedEvent.Longitude),
LogLevel.Pokestop);
}

Expand Down
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Common/Translations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public class Translation : ITranslation
new KeyValuePair<TranslationString, string>(TranslationString.FarmPokestopsNoUsableFound,
"No usable PokeStops found in your area. Is your maximum distance too small?"),
new KeyValuePair<TranslationString, string>(TranslationString.EventFortUsed,
"Name: {0} XP: {1}, Gems: {2}, Items: {3}"),
"Name: {0} XP: {1}, Gems: {2}, Items: {3}, Lat: {4}, Long: {5}"),
new KeyValuePair<TranslationString, string>(TranslationString.EventFortFailed,
"Name: {0} INFO: Looting failed, possible softban. Unban in: {1}/{2}"),
new KeyValuePair<TranslationString, string>(TranslationString.EventFortTargeted,
Expand Down

0 comments on commit 1fc0724

Please sign in to comment.