mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Nitpicking.
This commit is contained in:
parent
2d421178db
commit
fef5f7604b
@ -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()
|
||||
// {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user