Some adjustments

This commit is contained in:
Seth
2020-07-15 01:22:32 -07:00
parent bf6ef152d9
commit 7a08152c14
4 changed files with 5 additions and 3 deletions

View File

@ -275,7 +275,9 @@ public class TotalFreedomMod extends JavaPlugin
wgb = new WorldGuardBridge();
for (FreedomService service : fsh.getServices())
{
service.onStart();
}
FLog.info("Started " + fsh.getServiceAmount() + "services.");

View File

@ -59,7 +59,7 @@ public class InteractBlocker extends FreedomService
if (event.getClickedBlock() != null)
{
if (event.getClickedBlock().getType().equals(Material.STRUCTURE_BLOCK) || event.getClickedBlock().getType().equals(Material.JIGSAW))
if (event.getClickedBlock().getType().equals(Material.STRUCTURE_BLOCK) || event.getClickedBlock().getType().equals(Material.JIGSAW) || event.getClickedBlock().getType().equals(Material.RESPAWN_ANCHOR))
{
event.setCancelled(true);
event.getPlayer().closeInventory();

View File

@ -55,7 +55,7 @@ public class FUtil
//
public static final String SAVED_FLAGS_FILENAME = "savedflags.dat";
// See https://github.com/TotalFreedom/License - None of the listed names may be removed.
public static final List<String> DEVELOPERS = Arrays.asList("Madgeek1450", "Prozza", "WickedGamingUK", "Wild1145", "aggelosQQ", "supernt");
public static final List<String> DEVELOPERS = Arrays.asList("Madgeek1450", "Prozza", "WickedGamingUK", "Wild1145", "aggelosQQ", "scripthead", "supernt");
public static String DATE_STORAGE_FORMAT = "EEE, d MMM yyyy HH:mm:ss Z";
public static final Map<String, ChatColor> CHAT_COLOR_NAMES = new HashMap<>();
public static final List<ChatColor> CHAT_COLOR_POOL = Arrays.asList(