Update check for Essentials

This commit is contained in:
snowleo 2011-08-23 02:46:19 +02:00
parent 91393e3180
commit 90419cdbf5
5 changed files with 59 additions and 32 deletions

View file

@ -473,4 +473,10 @@ public class Settings implements ISettings
{
return config.getBoolean("add-prefix-suffix", ess.getServer().getPluginManager().isPluginEnabled("EssentialsChat"));
}
@Override
public boolean isUpdateEnabled()
{
return config.getBoolean("update-check", true);
}
}