From 207c327cf4f2f19484382b49cfd6ce18127f3d63 Mon Sep 17 00:00:00 2001 From: syoyu Date: Mon, 28 Oct 2024 00:04:34 +0900 Subject: [PATCH] =?UTF-8?q?GUI=E3=81=AE=E6=A8=AA=E5=B9=858=E3=81=A0?= =?UTF-8?q?=E3=81=A8=E5=8B=98=E9=81=95=E3=81=84=E3=81=97=E3=81=A6=E3=81=9F?= =?UTF-8?q?=E3=81=91=E3=81=A9=EF=BC=97=E3=81=A0=E3=81=A3=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subplugins/achievement/menu/ProgressMenu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/space/yurisi/universecorev2/subplugins/achievement/menu/ProgressMenu.java b/src/main/java/space/yurisi/universecorev2/subplugins/achievement/menu/ProgressMenu.java index 7b5ad454..59a191ed 100644 --- a/src/main/java/space/yurisi/universecorev2/subplugins/achievement/menu/ProgressMenu.java +++ b/src/main/java/space/yurisi/universecorev2/subplugins/achievement/menu/ProgressMenu.java @@ -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()