pull/1/HEAD
parent
b56f512df5
commit
b558cd9bdb
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue