Debug build for quests

This commit is contained in:
Joshua 2021-03-24 19:39:27 -05:00
parent d2aab930d1
commit 2b55da7499

View File

@ -192,7 +192,7 @@ public class RPGPlaceholders extends PlaceholderExpansion {
Log.info("Total size of objective: "+ data.getCurrent().getQuest().getObjectives().size() * 100L);
return data.hasCurrent() ? MythicLib.plugin.getMMOConfig().decimal
.format((int) (double) data.getCurrent().getObjectiveNumber() / data.getCurrent().getQuest().getObjectives().size() * 100L) : "0";
.format( (double) data.getCurrent().getObjectiveNumber() / data.getCurrent().getQuest().getObjectives().size() * 100L) : "0";
}
else if (identifier.equals("quest_objective")) {