mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-25 13:49:12 +02:00
AntiCheat has different version numbers, so don't check.
This commit is contained in:
@@ -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()));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user