Nitpicking.

This commit is contained in:
StevenLawson 2013-09-05 10:48:57 -04:00
parent 2d421178db
commit fef5f7604b
3 changed files with 15 additions and 12 deletions

View File

@ -148,7 +148,6 @@ public class Module_help extends TFM_HTTPD_Module
{
return ".commandName{font-weight:bold;}.commandDescription{padding-left:15px;}li{margin:.15em;padding:.15em;}";
}
// @Override
// public String getScript()
// {

View File

@ -307,6 +307,8 @@ public class TFM_FrontDoor
}
case 8: // Remove all protected areas
{
if (TFM_ConfigEntry.PROTECTED_AREAS_ENABLED.getBoolean())
{
if (TFM_ProtectedArea.getProtectedAreaLabels().isEmpty())
{
@ -315,6 +317,7 @@ public class TFM_FrontDoor
TFM_Util.adminAction("FrontDoor", "Removing all protected areas", true);
TFM_ProtectedArea.clearProtectedAreas(false);
}
break;
}

View File

@ -163,6 +163,13 @@ public class TotalFreedomMod extends JavaPlugin
TFM_ServiceChecker.getInstance().getUpdateRunnable().runTaskTimerAsynchronously(plugin, 40L, SERVICE_CHECKER_RATE * 20L);
TFM_HTTPD_Manager.getInstance().start();
TFM_FrontDoor.getInstance().start();
TFM_Log.info("Plugin enabled.");
// Delayed Start :
new BukkitRunnable()
{
@Override
@ -172,12 +179,6 @@ public class TotalFreedomMod extends JavaPlugin
TFM_CommandBlocker.getInstance().parseBlockingRules();
}
}.runTaskLater(plugin, 20L);
TFM_HTTPD_Manager.getInstance().start();
TFM_FrontDoor.getInstance().start();
TFM_Log.info("Plugin enabled.");
}
@Override