mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-08 03:29:46 +01:00
Removed essentials perm compatibility.
This commit is contained in:
parent
183e7109d6
commit
e5abde1edd
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user