mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
AntiCheat has different version numbers, so don't check.
This commit is contained in:
parent
7280c1c468
commit
1b2e3b1951
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ public class Essentials extends JavaPlugin implements IEssentials
|
||||||
for (Plugin plugin : pm.getPlugins())
|
for (Plugin plugin : pm.getPlugins())
|
||||||
{
|
{
|
||||||
if (plugin.getDescription().getName().startsWith("Essentials")
|
if (plugin.getDescription().getName().startsWith("Essentials")
|
||||||
&& !plugin.getDescription().getVersion().equals(this.getDescription().getVersion()))
|
&& !plugin.getDescription().getVersion().equals(this.getDescription().getVersion())
|
||||||
|
&& !plugin.getDescription().getName().equals("EssentialsAntiCheat"))
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, _("versionMismatch", plugin.getDescription().getName()));
|
LOGGER.log(Level.WARNING, _("versionMismatch", plugin.getDescription().getName()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue