--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/Jail.java 2013/01/07 14:04:26 1910 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/Jail.java 2013/01/09 21:09:10 1911 @@ -120,8 +120,10 @@ if (sender instanceof Player ) { Player p = (Player) sender; - if ( !p.isOp()) { - p.sendMessage("Only server operators may use this command"); + if ( p.isOp() || p.hasPermission("hoeruputils.jail") ) { + //do nothing + } else { + p.sendMessage("Only server operators or players with hoeruputils.jail priv may use this command"); return true; } } else {