mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixed bug where players were unable to salvage leather armor. Closes #788
This commit is contained in:
parent
78a3ea4765
commit
ae741a1b99
@ -8,6 +8,7 @@ Key:
|
|||||||
- Removal
|
- Removal
|
||||||
|
|
||||||
Version 1.4.03-dev
|
Version 1.4.03-dev
|
||||||
|
= Fixed bug where players were unable to salvage leather armor
|
||||||
|
|
||||||
Version 1.4.02
|
Version 1.4.02
|
||||||
+ Added API to get the skill and power level caps.
|
+ Added API to get the skill and power level caps.
|
||||||
|
@ -264,7 +264,7 @@ public class ItemUtils {
|
|||||||
* @return true if the item is armor, false otherwise
|
* @return true if the item is armor, false otherwise
|
||||||
*/
|
*/
|
||||||
public static boolean isMinecraftArmor(ItemStack is) {
|
public static boolean isMinecraftArmor(ItemStack is) {
|
||||||
return isDiamondArmor(is) || isGoldArmor(is) || isIronArmor(is) || isDiamondArmor(is);
|
return isLeatherArmor(is) || isGoldArmor(is) || isIronArmor(is) || isDiamondArmor(is);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user