1
0
mirror of https://e.coding.net/circlecloud/Soulbound.git synced 2024-11-22 01:49:09 +00:00
This commit is contained in:
john180 2016-02-02 20:46:48 +08:00
parent 2185518737
commit 059ffb05ec

View File

@ -16,7 +16,7 @@ public class ArmorStandListener implements Listener {
final Player player = event.getPlayer();
final ItemStack itemStack = event.getPlayerItem();
if (itemStack != null && ItemUtils.isSoulbound(itemStack)) {
player.sendMessage(ChatColor.RED + "绑定物品不允许被放置在盔甲架上.");
player.sendMessage(ChatColor.RED + "绑定物品不允许被放置在盔甲架上.");
event.setCancelled(true);
}
}