mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	remove msg about in development skills
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user