This commit is contained in:
YuTian 2024-08-13 11:35:34 +08:00
parent 368392118f
commit e2cc3f0a3f

View File

@ -33,7 +33,7 @@ public class DungeonPAPI extends PlaceholderExpansion {
if (params.equalsIgnoreCase("countdown")) { if (params.equalsIgnoreCase("countdown")) {
return String.valueOf(dungeonInstance.getCountdown()); return String.valueOf(dungeonInstance.getCountdown());
} else if (params.equalsIgnoreCase("countdown_total")) { } else if (params.equalsIgnoreCase("countdown_total")) {
return String.valueOf(dungeonInstance.getDungeon().getConfig().getOption().getCountdown()); return String.valueOf(dungeonInstance.getTotalCountdown());
} }
return "NULL"; return "NULL";
} }