Removes the temporary ignoreEntrances option and replaces it with proper snowman blocking. Fixes

Allows new gates to contain water as underwater gates are a thing now
Adds a check to prevent snowmen from placing snow inside a portal's entrance
Removes the ignoreEntrances option everywhere
This commit is contained in:
2021-10-09 15:09:14 +02:00
parent f87ffc906c
commit 051a6b8f98
7 changed files with 35 additions and 14 deletions

@ -68,8 +68,6 @@ public class Stargate extends JavaPlugin {
public static boolean enableBungee = true;
public static boolean verifyPortals = true;
private static boolean destroyExplosion = false;
//Temp workaround for snowmen, don't check gate entrance
public static boolean ignoreEntrance = false;
private String dataFolderPath;
public static ChatColor signColor;
@ -453,7 +451,6 @@ public class Stargate extends JavaPlugin {
//Integrity
protectEntrance = newConfig.getBoolean("gates.integrity.protectEntrance");
verifyPortals = newConfig.getBoolean("gates.integrity.verifyPortals");
ignoreEntrance = newConfig.getBoolean("gates.integrity.ignoreEntrance");
destroyExplosion = newConfig.getBoolean("gates.integrity.destroyedByExplosion");
//Cosmetic