diff --git a/.idea/TFGuilds.iml b/.idea/TFGuilds.iml index 4742ffe..24b5d99 100644 --- a/.idea/TFGuilds.iml +++ b/.idea/TFGuilds.iml @@ -25,7 +25,7 @@ - + diff --git a/pom.xml b/pom.xml index 645f53b..41961bb 100644 --- a/pom.xml +++ b/pom.xml @@ -67,10 +67,6 @@ sonatype https://oss.sonatype.org/content/groups/public/ - - telesphoreo-repo - https://telesphoreo.me/repo/maven - @@ -81,9 +77,9 @@ provided - me.totalfreedom + com.github.AtlasMediaGroup TotalFreedomMod - 2020.11.5 + development-0be2aa718f-1 provided diff --git a/src/main/java/me/totalfreedom/tfguilds/bridge/TFMBridge.java b/src/main/java/me/totalfreedom/tfguilds/bridge/TFMBridge.java index b74fa67..c1fa710 100644 --- a/src/main/java/me/totalfreedom/tfguilds/bridge/TFMBridge.java +++ b/src/main/java/me/totalfreedom/tfguilds/bridge/TFMBridge.java @@ -46,7 +46,7 @@ public boolean isAdmin(Player player) return player.isOp(); } - return getTFM().sl.isStaff(player); + return getTFM().al.isAdmin(player); } public boolean isAdmin(CommandSender sender) @@ -57,11 +57,11 @@ public boolean isAdmin(CommandSender sender) return sender.isOp(); } - return getTFM().sl.isStaff(sender); + return getTFM().al.isAdmin(sender); } public boolean isVanished(Player player) { - return getTFM().sl.isVanished(player.getName()); + return getTFM().al.isVanished(player.getName()); } } \ No newline at end of file