From 3bf03d86079dc4e0cde3b777c86c3a3e4e1aac5f Mon Sep 17 00:00:00 2001 From: speed <43330808+speedxx@users.noreply.github.com> Date: Thu, 3 Dec 2020 21:42:57 -0500 Subject: [PATCH] refactor --- .idea/TFGuilds.iml | 2 +- pom.xml | 8 ++------ .../java/me/totalfreedom/tfguilds/bridge/TFMBridge.java | 6 +++--- 3 files changed, 6 insertions(+), 10 deletions(-) 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