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