I think this fixes it

This commit is contained in:
Telesphoreo 2020-08-14 00:37:15 -05:00
parent 9bb78cb6d8
commit b852a50471
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ public class TFMHandler
final Plugin tfm = plugin.getServer().getPluginManager().getPlugin("TotalFreedomMod");
if (tfm != null && tfm instanceof TotalFreedomMod)
{
tfmPlugin = (TotalFreedomMod) tfm;
tfmPlugin = (TotalFreedomMod)tfm;
}
}
catch (Exception ex)
@ -64,7 +64,7 @@ public class TFMHandler
{
getTFM();
}
return getTFM().al.isVanished(player);
return AdminList.vanished.contains(player);
}
public void warning(String warning)

View file

@ -72,7 +72,7 @@
<dependency>
<groupId>com.github.TFPatches</groupId>
<artifactId>TotalFreedomMod</artifactId>
<version>development-SNAPSHOT</version>
<version>server-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>