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"; }