mirror of
https://e.coding.net/circlecloud/Soulbound.git
synced 2024-11-21 01:39:10 +00:00
编码
This commit is contained in:
parent
2185518737
commit
059ffb05ec
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user