1
0
mirror of https://e.coding.net/circlecloud/Soulbound.git synced 2024-11-21 01:39:10 +00:00
This commit is contained in:
john180 2016-01-11 21:34:43 +08:00
parent b56f512df5
commit b558cd9bdb

View File

@ -95,7 +95,7 @@ public class PlayerListener implements Listener {
final String command = event.getMessage();
if (ItemUtils.isSoulbound(itemStack) && Config.getBlockedCommands().contains(command)) {
player.sendMessage(ChatColor.RED + "涓嶅厑璁镐娇鐢ㄥ懡浠<EFBFBD> " + ChatColor.GOLD + command + ChatColor.RED + " 褰撴嬁鐫<EFBFBD>缁戝畾鐗╁搧鐨勬椂鍊<EFBFBD>.");
player.sendMessage(ChatColor.RED + "不允许使用命令 " + ChatColor.GOLD + command + ChatColor.RED + " 当拿着绑定物品的时候.");
event.setCancelled(true);
}
}