diff --git a/.idea/TFGuilds.iml b/.idea/TFGuilds.iml new file mode 100644 index 0000000..36446bd --- /dev/null +++ b/.idea/TFGuilds.iml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 23a21e0..1d019dd 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.totalfreedom TFGuilds - 0.2.16 + 0.2.17 jar TFGuilds @@ -83,13 +83,13 @@ me.totalfreedom TotalFreedomMod - 2020.9 + 2020.11.5 provided org.projectlombok lombok - 1.18.14 + 1.18.16 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 class TFMBridge return player.isOp(); } - return getTFM().sl.isStaff(player); + return getTFM().al.isAdmin(player); } public boolean isAdmin(CommandSender sender) @@ -57,11 +57,11 @@ public class TFMBridge 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