1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-19 23:41:27 +02:00

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

@ -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;
} }