From 6169f87933cb6e41b29b25adf92af497632e4039 Mon Sep 17 00:00:00 2001 From: Tastybento Date: Sat, 12 May 2018 16:34:03 -0700 Subject: [PATCH] Removes permission requirement to accept a coop --- src/com/wasteofplastic/askyblock/commands/IslandCmd.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/wasteofplastic/askyblock/commands/IslandCmd.java b/src/com/wasteofplastic/askyblock/commands/IslandCmd.java index 78e185fc8..c74a5c36c 100644 --- a/src/com/wasteofplastic/askyblock/commands/IslandCmd.java +++ b/src/com/wasteofplastic/askyblock/commands/IslandCmd.java @@ -1850,7 +1850,6 @@ public void run() { } } else if (split[0].equalsIgnoreCase("coopaccept")) { // Accept an invite command - if (VaultHelper.checkPerm(player, Settings.PERMPREFIX + "coop")) { if (coopInviteList.containsKey(playerUUID)) { // Check if inviter is online Player inviter = plugin.getServer().getPlayer(coopInviteList.get(playerUUID)); @@ -1872,10 +1871,6 @@ public void run() { } Util.sendMessage(player, ChatColor.RED + plugin.myLocale(player.getUniqueId()).errorCommandNotReady); return true; - } else { - Util.sendMessage(player, ChatColor.RED + plugin.myLocale(playerUUID).errorNoPermission); - return true; - } } else if (split[0].equalsIgnoreCase("accept")) { // Accept an invite command if (VaultHelper.checkPerm(player, Settings.PERMPREFIX + "team.join")) {