forked from Upstream/mmocore
Debug build dont use
This commit is contained in:
parent
27135ce603
commit
d2aab930d1
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user