Skip to content

Commit

Permalink
Fixes level reported in the console report. Was old level.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jul 11, 2020
1 parent 52a5da5 commit 5e56943
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ private List<String> getReport() {
reportLines.add("Level cost = " + addon.getSettings().getLevelCost());
reportLines.add("Deaths handicap = " + results.deathHandicap.get());
reportLines.add("Initial island level = " + (0L - addon.getManager().getInitialLevel(island)));
reportLines.add("Level calculated = " + addon.getManager().getIslandLevel(island.getWorld(), island.getOwner()));
reportLines.add("Previous level = " + addon.getManager().getIslandLevel(island.getWorld(), island.getOwner()));
reportLines.add("New level = " + (results.getLevel() - addon.getManager().getInitialLevel(island)));
reportLines.add(LINE_BREAK);
int total = 0;
if (!results.uwCount.isEmpty()) {
Expand Down

0 comments on commit 5e56943

Please sign in to comment.