mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-31 06:07:34 +01:00
Removed debug messages
This commit is contained in:
parent
c08282b8e1
commit
c2ee03f3ce
@ -80,10 +80,8 @@ public class CraftingRecipeDisplay extends ConfigItem {
|
||||
if (str.startsWith("#condition_")) {
|
||||
String format = str.substring("#condition_".length(), str.length() - 1);
|
||||
ConditionInfo info = recipe.getCondition(format);
|
||||
if (info != null && info.getCondition().displays()) {
|
||||
MMOItems.plugin.getLogger().info("Condition Things: " + info.getCondition().getId());
|
||||
if (info != null && info.getCondition().displays())
|
||||
replace.put(str, info.getCondition().formatDisplay(info.isMet() ? info.getCondition().getDisplay().getPositive() : info.getCondition().getDisplay().getNegative()));
|
||||
}
|
||||
else
|
||||
iterator.remove();
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ import org.apache.commons.lang.Validate;
|
||||
import net.Indyuce.mmocore.MMOCore;
|
||||
import net.Indyuce.mmocore.api.experience.Profession;
|
||||
import net.Indyuce.mmocore.api.player.PlayerData;
|
||||
import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.Indyuce.mmoitems.api.crafting.ConditionalDisplay;
|
||||
import net.Indyuce.mmoitems.api.crafting.condition.Condition;
|
||||
import net.Indyuce.mmoitems.api.util.AltChar;
|
||||
@ -37,7 +36,6 @@ public class ProfessionCondition extends Condition {
|
||||
|
||||
@Override
|
||||
public String formatDisplay(String string) {
|
||||
MMOItems.plugin.getLogger().info("Formatting");
|
||||
return string.replace("#level#", "" + level).replace("#profession#", profession.getName());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user