Debug build dont use

This commit is contained in:
Joshua 2021-03-24 19:05:17 -05:00
parent 27135ce603
commit d2aab930d1

View File

@ -2,7 +2,7 @@ package net.Indyuce.mmocore.comp.placeholder;
import io.lumine.mythic.lib.MythicLib;
import io.lumine.mythic.lib.api.util.AltChar;
import io.lumine.utils.logging.Log;
import io.lumine.mythic.utils.logging.Log;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import net.Indyuce.mmocore.MMOCore;
import net.Indyuce.mmocore.api.experience.PlayerProfessions;
@ -190,6 +190,7 @@ public class RPGPlaceholders extends PlaceholderExpansion {
PlayerQuests data = playerData.getQuestData();
Log.info("Data current objective number: " + data.getCurrent().getObjectiveNumber());
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";
}