ItemBuilder.java 文件源码

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

项目:SupaCommons 作者:
/**
 * Sets whether this map scales, assuming the item is a map.
 * <p />
 * <b>UNSAFE</b>
 *
 * @param scale whether to scale
 *
 * @return this item builder instance, for chaining
 */
public ItemBuilder mapScale(boolean scale) {
  if (isMapMeta()) {
    try {
      ((MapMeta) this.itemMeta).setScaling(scale);
    } catch (Exception e) {
      if (!this.failSilently) {
        e.printStackTrace();
      }
    }
  }
  return this;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号