forked from Upstream/mmocore
gets rid of debug messages
This commit is contained in:
parent
2b55da7499
commit
e917670c1f
@ -2,7 +2,6 @@ package net.Indyuce.mmocore.comp.placeholder;
|
|||||||
|
|
||||||
import io.lumine.mythic.lib.MythicLib;
|
import io.lumine.mythic.lib.MythicLib;
|
||||||
import io.lumine.mythic.lib.api.util.AltChar;
|
import io.lumine.mythic.lib.api.util.AltChar;
|
||||||
import io.lumine.mythic.utils.logging.Log;
|
|
||||||
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
||||||
import net.Indyuce.mmocore.MMOCore;
|
import net.Indyuce.mmocore.MMOCore;
|
||||||
import net.Indyuce.mmocore.api.experience.PlayerProfessions;
|
import net.Indyuce.mmocore.api.experience.PlayerProfessions;
|
||||||
@ -188,8 +187,6 @@ public class RPGPlaceholders extends PlaceholderExpansion {
|
|||||||
|
|
||||||
else if (identifier.equals("quest_progress")) {
|
else if (identifier.equals("quest_progress")) {
|
||||||
PlayerQuests data = playerData.getQuestData();
|
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
|
return data.hasCurrent() ? MythicLib.plugin.getMMOConfig().decimal
|
||||||
.format( (double) data.getCurrent().getObjectiveNumber() / data.getCurrent().getQuest().getObjectives().size() * 100L) : "0";
|
.format( (double) data.getCurrent().getObjectiveNumber() / data.getCurrent().getQuest().getObjectives().size() * 100L) : "0";
|
||||||
|
Loading…
Reference in New Issue
Block a user