remove msg about in development skills

This commit is contained in:
nossr50
2024-08-03 11:45:50 -07:00
parent 3065c71c25
commit 684583c19b
6 changed files with 12 additions and 7 deletions

View File

@ -59,8 +59,6 @@ public class CrossbowsCommand extends SkillCommand {
String.valueOf(CombatUtils.getLimitBreakDamageAgainstQuality(player, CROSSBOWS_CROSSBOWS_LIMIT_BREAK, 1000))));
}
messages.add(ChatColor.GRAY + "The Crossbows skill is a work in progress and is still being developed, feedback would be appreciated in the mcMMO discord server.");
return messages;
}

View File

@ -65,8 +65,6 @@ public class MacesCommand extends SkillCommand {
String.valueOf(mmoPlayer.getMacesManager().getCrushDamage())));
}
messages.add(ChatColor.GRAY + "The Maces skill is a work in progress and is still being developed," +
" feedback would be appreciated in the mcMMO discord server.");
return messages;
}

View File

@ -41,7 +41,6 @@ public class TridentsCommand extends SkillCommand {
String.valueOf(mmoPlayer.getTridentsManager().impaleDamageBonus())));
}
messages.add(ChatColor.GRAY + "The Tridents skill is a work in progress and is still being developed, feedback would be appreciated in the mcMMO discord server.");
return messages;
}

View File

@ -18,6 +18,8 @@ import java.io.IOException;
import java.util.*;
import java.util.logging.Level;
import static com.gmail.nossr50.util.skills.SkillUtils.getRepairAndSalvageQuantities;
public class SalvageConfig extends BukkitConfig {
private final HashSet<String> notSupported;
private Set<Salvageable> salvageables;
@ -143,7 +145,9 @@ public class SalvageConfig extends BukkitConfig {
}
// Maximum Quantity
int maximumQuantity = (itemMaterial != null ? SkillUtils.getRepairAndSalvageQuantities(itemMaterial, salvageMaterial) : config.getInt("Salvageables." + key + ".MaximumQuantity", 1));
int maximumQuantity = itemMaterial != null
? getRepairAndSalvageQuantities(itemMaterial, salvageMaterial)
: config.getInt("Salvageables." + key + ".MaximumQuantity", 1);
if (maximumQuantity <= 0 && itemMaterial != null) {
maximumQuantity = config.getInt("Salvageables." + key + ".MaximumQuantity", 1);