This commit is contained in:
boy0001 2015-03-31 23:55:34 +11:00
parent fc4cfb6319
commit 331898c081

View File

@ -68,7 +68,7 @@ public class SetOwner extends SubCommand {
PlotPlayer other = UUIDHandler.getPlayer(args[0]);
if (other == null) {
if (!Permissions.hasPermission(plr, "plots.admin.command.setowner")) {
MainUtil.sendMessage(plr, C.INVALID_PLAYER);
MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[0]);
return false;
}
}