mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
I think this fixes it
This commit is contained in:
parent
9bb78cb6d8
commit
b852a50471
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue