From e2cc3f0a3fc072f18dd7034af9f3128567dfcf27 Mon Sep 17 00:00:00 2001 From: YuTian <2953516620@qq.com> Date: Tue, 13 Aug 2024 11:35:34 +0800 Subject: [PATCH] 1.2.1 --- src/main/java/com/io/yutian/thewardungeon/papi/DungeonPAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/io/yutian/thewardungeon/papi/DungeonPAPI.java b/src/main/java/com/io/yutian/thewardungeon/papi/DungeonPAPI.java index 52176f0..5afa165 100644 --- a/src/main/java/com/io/yutian/thewardungeon/papi/DungeonPAPI.java +++ b/src/main/java/com/io/yutian/thewardungeon/papi/DungeonPAPI.java @@ -33,7 +33,7 @@ public class DungeonPAPI extends PlaceholderExpansion { if (params.equalsIgnoreCase("countdown")) { return String.valueOf(dungeonInstance.getCountdown()); } else if (params.equalsIgnoreCase("countdown_total")) { - return String.valueOf(dungeonInstance.getDungeon().getConfig().getOption().getCountdown()); + return String.valueOf(dungeonInstance.getTotalCountdown()); } return "NULL"; }