/**
* 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.");
}
Punishments.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:Kineticraft
作者:
评论列表
文章目录