Removed essentials perm compatibility.

This commit is contained in:
Brianna 2020-04-30 10:48:38 -04:00
parent 183e7109d6
commit e5abde1edd

View File

@ -407,10 +407,7 @@ public class Kit {
}
public boolean hasPermission(Player player) {
if (player.hasPermission("uc.kit." + key.toLowerCase())) return true;
if (player.hasPermission("essentials.kit." + key.toLowerCase())) return true;
if (player.hasPermission("ultimatekits.kit." + key.toLowerCase())) return true;
return false;
return player.hasPermission("essentials.kit." + key.toLowerCase());
}
public double getPrice() {