ItemBuilder.java 文件源码

java
阅读 27 收藏 0 点赞 0 评论 0

项目:SupaCommons 作者:
/**
 * Sets this item's repair cost.
 *
 * @param cost repair cost
 *
 * @return this item builder instance, for chaining
 */
public ItemBuilder repairCost(int cost) {
  try {
    ((Repairable) this.itemMeta).setRepairCost(cost);
  } catch (Exception e) {
    if (!this.failSilently) {
      e.printStackTrace();
    }
  }
  return this;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号