We're checking this twice and shouldn't be.

This commit is contained in:
GJ 2013-05-28 12:53:12 -04:00
parent 10e369f9c5
commit 54f135aebd

View File

@ -29,7 +29,7 @@ public class Repair {
* @return true if the item is salvageable, false otherwise * @return true if the item is salvageable, false otherwise
*/ */
public static boolean isSalvageable(ItemStack item) { public static boolean isSalvageable(ItemStack item) {
if (Config.getInstance().getSalvageTools() && (ItemUtils.isMinecraftTool(item) || ItemUtils.isStringTool(item) || item.getType() == Material.BUCKET)) { if (Config.getInstance().getSalvageTools() && ItemUtils.isMinecraftTool(item)) {
return true; return true;
} }