mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Bad copy paste
This commit is contained in:
parent
505d6e258f
commit
761fb3b811
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user