Skip to content

Commit

Permalink
Temple count is no longer assigned the incorrect value
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinBaker committed Mar 15, 2023
1 parent 00a694a commit d1d7f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AATool/UI/Controls/UIRunComplete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,14 @@ public void Show()
this.statsMisc.Append($"Save & Quits: {prog.SaveAndQuits}\n");
*/

int temples = (state.TimesMined("minecraft:tnt") / 9);
int temples = state.TimesMined("minecraft:tnt") / 9;
int fish = state.TimesKilled("minecraft:cod") + state.TimesKilled("minecraft:salmon");

this.First<UITextBlock>("flown").SetText(space + state.KilometersFlown);
this.First<UITextBlock>("bread").SetText(space + state.TimesUsed("minecraft:bread"));
this.First<UITextBlock>("enchants").SetText(space + state.ItemsEnchanted);
this.First<UITextBlock>("pearls").SetText(space + state.TimesUsed("minecraft:ender_pearl"));
this.First<UITextBlock>("temples").SetText(space + fish);
this.First<UITextBlock>("temples").SetText(space + temples);

this.First<UITextBlock>("creepers").SetText(space + state.TimesKilled("minecraft:creeper"));
this.First<UITextBlock>("drowned").SetText(space + state.TimesKilled("minecraft:drowned"));
Expand Down

0 comments on commit d1d7f26

Please sign in to comment.