Skip to content

Commit

Permalink
GUIの横幅8だと勘違いしてたけど7だった
Browse files Browse the repository at this point in the history
  • Loading branch information
syoooooooooyu committed Oct 27, 2024
1 parent 65ff05a commit 207c327
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public void sendMenu(Player player) {
AchievementData data = this.dataList.get(j);
Long currentCount = data.getCurrentCount();
Long currentGoal = data.getCurrentGoal();
int cell = (int) (currentGoal / 8);
int cell = (int) (currentGoal / 7);
int achievedCells = (int) (currentCount / cell);
builder = builder.addContent(new ProgressBarItem((i % 8) <= achievedCells, data.getStage(), data.getItemName()));
builder = builder.addContent(new ProgressBarItem((i % 7) <= achievedCells, data.getStage(), data.getItemName()));
}

Window window = Window.single()
Expand Down

0 comments on commit 207c327

Please sign in to comment.