mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-06-01 17:41:21 +00:00
Update for TFM refactor
This commit is contained in:
parent
58afb1dbab
commit
280eec309c
|
@ -7,9 +7,8 @@ dependencies {
|
|||
exclude group: "org.bukkit", module: "bukkit"
|
||||
}
|
||||
compileOnly 'net.luckperms:api:5.0'
|
||||
compileOnly('me.totalfreedom:TotalFreedomMod:7.0.0') {
|
||||
compileOnly('me.totalfreedom:TotalFreedomMod:7.1.0') {
|
||||
exclude group: "org.bstats", module: "bstats-bukkit"
|
||||
exclude group: "me.rayzr522", module: "jsonmessage"
|
||||
exclude group: "net.essentialsx", module: "EssentialsX"
|
||||
exclude group: "me.totalfreedom", module: "TFGuilds"
|
||||
}
|
||||
|
|
|
@ -31,15 +31,15 @@ public class TFMHandler {
|
|||
}
|
||||
|
||||
public boolean isAdmin(User user) {
|
||||
return getTFM().al.isAdmin(user.getBase());
|
||||
return getTFM().adminList.isAdmin(user.getBase());
|
||||
}
|
||||
|
||||
public boolean isAdmin(CommandSender sender) {
|
||||
return getTFM().al.isAdmin(sender);
|
||||
return getTFM().adminList.isAdmin(sender);
|
||||
}
|
||||
|
||||
public boolean isAdmin(Player player) {
|
||||
return getTFM().al.isAdmin(player);
|
||||
return getTFM().adminList.isAdmin(player);
|
||||
}
|
||||
|
||||
public boolean isVanished(User user) {
|
||||
|
|
Loading…
Reference in a new issue