Java源码示例:cn.nukkit.item.ItemArmor

示例1
public boolean isRepairable(Item item) {
    return item instanceof ItemTool || item instanceof ItemArmor;
}