This commit is contained in:
Steven Lawson 2013-09-03 16:49:48 -04:00
parent d1ffbe0412
commit 896af4198a
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -60,7 +60,7 @@ public class TFM_ProtectedArea implements Serializable
TFM_ProtectedArea.protectedAreas.remove(label.toLowerCase()); TFM_ProtectedArea.protectedAreas.remove(label.toLowerCase());
saveProtectedAreas(); saveProtectedAreas();
} }
public static void clearProtectedAreas() public static void clearProtectedAreas()
{ {
clearProtectedAreas(false); clearProtectedAreas(false);
@ -69,12 +69,12 @@ public class TFM_ProtectedArea implements Serializable
public static void clearProtectedAreas(boolean hard) public static void clearProtectedAreas(boolean hard)
{ {
TFM_ProtectedArea.protectedAreas.clear(); TFM_ProtectedArea.protectedAreas.clear();
if (!hard) if (!hard)
{ {
autoAddSpawnpoints(); autoAddSpawnpoints();
} }
saveProtectedAreas(); saveProtectedAreas();
} }