mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Some adjustments
This commit is contained in:
parent
bf6ef152d9
commit
7a08152c14
2
pom.xml
2
pom.xml
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<name>TotalFreedomMod</name>
|
<name>TotalFreedomMod</name>
|
||||||
<description>Server modification for the TotalFreedom server</description>
|
<description>Server modification for the TotalFreedom server</description>
|
||||||
<url>https://github.com/TotalFreedom/TotalFreedomMod</url>
|
<url>https://github.com/TFPatches/TotalFreedomMod</url>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
@ -275,7 +275,9 @@ public class TotalFreedomMod extends JavaPlugin
|
|||||||
wgb = new WorldGuardBridge();
|
wgb = new WorldGuardBridge();
|
||||||
|
|
||||||
for (FreedomService service : fsh.getServices())
|
for (FreedomService service : fsh.getServices())
|
||||||
|
{
|
||||||
service.onStart();
|
service.onStart();
|
||||||
|
}
|
||||||
|
|
||||||
FLog.info("Started " + fsh.getServiceAmount() + "services.");
|
FLog.info("Started " + fsh.getServiceAmount() + "services.");
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ public class InteractBlocker extends FreedomService
|
|||||||
|
|
||||||
if (event.getClickedBlock() != null)
|
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.setCancelled(true);
|
||||||
event.getPlayer().closeInventory();
|
event.getPlayer().closeInventory();
|
||||||
|
@ -55,7 +55,7 @@ public class FUtil
|
|||||||
//
|
//
|
||||||
public static final String SAVED_FLAGS_FILENAME = "savedflags.dat";
|
public static final String SAVED_FLAGS_FILENAME = "savedflags.dat";
|
||||||
// See https://github.com/TotalFreedom/License - None of the listed names may be removed.
|
// 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 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 Map<String, ChatColor> CHAT_COLOR_NAMES = new HashMap<>();
|
||||||
public static final List<ChatColor> CHAT_COLOR_POOL = Arrays.asList(
|
public static final List<ChatColor> CHAT_COLOR_POOL = Arrays.asList(
|
||||||
|
Loading…
Reference in New Issue
Block a user