mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-12-26 19:18:31 +01:00
Fixes level reported in the console report. Was old level.
This commit is contained in:
parent
52a5da55bd
commit
5e56943c63
@ -236,7 +236,8 @@ public class IslandLevelCalculator {
|
|||||||
reportLines.add("Level cost = " + addon.getSettings().getLevelCost());
|
reportLines.add("Level cost = " + addon.getSettings().getLevelCost());
|
||||||
reportLines.add("Deaths handicap = " + results.deathHandicap.get());
|
reportLines.add("Deaths handicap = " + results.deathHandicap.get());
|
||||||
reportLines.add("Initial island level = " + (0L - addon.getManager().getInitialLevel(island)));
|
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);
|
reportLines.add(LINE_BREAK);
|
||||||
int total = 0;
|
int total = 0;
|
||||||
if (!results.uwCount.isEmpty()) {
|
if (!results.uwCount.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user