|
@@ -141,7 +141,7 @@ public class Salvage {
|
|
* @return true if the item is salvageable, false otherwise
|
|
* @return true if the item is salvageable, false otherwise
|
|
*/
|
|
*/
|
|
public static boolean isSalvageable(final ItemStack is) {
|
|
public static boolean isSalvageable(final ItemStack is) {
|
|
- if (configInstance.getSalvageTools() && (ItemChecks.isMinecraftArmor(is) || ItemChecks.isStringTool(is) || is.getType() == Material.BUCKET)) {
|
|
|
|
|
|
+ if (configInstance.getSalvageTools() && (ItemChecks.isMinecraftTool(is) || ItemChecks.isStringTool(is) || is.getType() == Material.BUCKET)) {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
if (configInstance.getSalvageArmor() && ItemChecks.isMinecraftArmor(is)) {
|
|
if (configInstance.getSalvageArmor() && ItemChecks.isMinecraftArmor(is)) {
|