Punishments.java 文件源码

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

项目:Kineticraft 作者:
/**
 * Create an item to represent this punishment
 * @return item
 */
public ItemStack getItem() {
    return ItemManager.createItem(isValid() ? getType().getIcon() : Material.BARRIER, getType().getDisplay(),
            "Source: " + ChatColor.WHITE + getSource(),
            "Date: " + ChatColor.WHITE + new Date(timestamp).toString(),
            "Click here to " + (isValid() ? "in" : "") + "validate this punishment.");
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号