rename command.seevanish to acf.seevanish - fixes #15

This commit is contained in:
Aikar
2017-04-21 23:10:50 -04:00
parent 4ac62d4065
commit 55ffa1da38
+2 -2
View File
@@ -814,7 +814,7 @@ public final class ACFUtil {
while (iter.hasNext()) {
Player player = iter.next();
if (requester instanceof Player && !((Player) requester).canSee(player)) {
if (requester.hasPermission("command.seevanish")) {
if (requester.hasPermission("acf.seevanish")) {
if (!origName.endsWith(":confirm")) {
confirmList.add(player);
iter.remove();
@@ -837,7 +837,7 @@ public final class ACFUtil {
} else {
Player player = Iterables.getOnlyElement(confirmList);
sendMsg(requester,
"&cWarning: " + player.getDisplayName() + "&c is confirmList. Do not blow their cover!\n" +
"&cWarning: " + player.getDisplayName() + "&c is vanished. Do not blow their cover!\n" +
"&cTo confirm your action, add &f:confirm&c to the end of their name. \n" +
"&bEx: &e/g " + player.getName() + ":confirm");
return null;