From a9d4ecf33d145ae0d63d680c6f792064a0021700 Mon Sep 17 00:00:00 2001 From: zml2008 Date: Mon, 20 Feb 2012 15:17:25 -0800 Subject: [PATCH] Improved some group flag defaults to match pre-change behavior --- .../protection/flags/DefaultFlag.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/sk89q/worldguard/protection/flags/DefaultFlag.java b/src/main/java/com/sk89q/worldguard/protection/flags/DefaultFlag.java index d56ccaa6..483c2468 100644 --- a/src/main/java/com/sk89q/worldguard/protection/flags/DefaultFlag.java +++ b/src/main/java/com/sk89q/worldguard/protection/flags/DefaultFlag.java @@ -36,8 +36,8 @@ public final class DefaultFlag { public static final StateFlag ENDERDRAGON_BLOCK_DAMAGE = new StateFlag("enderdragon-block-damage", true); public static final StateFlag GHAST_FIREBALL = new StateFlag("ghast-fireball", true, RegionGroup.ALL); public static final StateFlag SLEEP = new StateFlag("sleep", true); - public static final StateFlag TNT = new StateFlag("tnt", true); - public static final StateFlag LIGHTER = new StateFlag("lighter", true); + public static final StateFlag TNT = new StateFlag("tnt", true, RegionGroup.ALL); + public static final StateFlag LIGHTER = new StateFlag("lighter", true, RegionGroup.ALL); public static final StateFlag FIRE_SPREAD = new StateFlag("fire-spread", true); public static final StateFlag LAVA_FIRE = new StateFlag("lava-fire", true); public static final StateFlag LIGHTNING = new StateFlag("lightning", true); @@ -57,22 +57,22 @@ public final class DefaultFlag { public static final StateFlag GRASS_SPREAD = new StateFlag("grass-growth", true); public static final StateFlag ENDER_BUILD = new StateFlag("enderman-grief", true); public static final StateFlag INVINCIBILITY = new StateFlag("invincible", false, RegionGroup.ALL); - public static final StateFlag EXP_DROPS = new StateFlag("exp-drops", true); - public static final StateFlag ENTRY = new StateFlag("entry", true, RegionGroup.NON_MEMBERS); - public static final StateFlag EXIT = new StateFlag("exit", true, RegionGroup.NON_MEMBERS); + public static final StateFlag EXP_DROPS = new StateFlag("exp-drops", true, RegionGroup.ALL); + public static final StateFlag ENTRY = new StateFlag("entry", true); + public static final StateFlag EXIT = new StateFlag("exit", true); public static final StringFlag GREET_MESSAGE = new StringFlag("greeting", RegionGroup.ALL); public static final StringFlag FAREWELL_MESSAGE = new StringFlag("farewell", RegionGroup.ALL); public static final BooleanFlag NOTIFY_ENTER = new BooleanFlag("notify-enter", RegionGroup.ALL); public static final BooleanFlag NOTIFY_LEAVE = new BooleanFlag("notify-leave", RegionGroup.ALL); public static final SetFlag DENY_SPAWN = new SetFlag("deny-spawn", new CreatureTypeFlag(null)); - public static final IntegerFlag HEAL_DELAY = new IntegerFlag("heal-delay"); - public static final IntegerFlag HEAL_AMOUNT = new IntegerFlag("heal-amount"); - public static final IntegerFlag MIN_HEAL = new IntegerFlag("heal-min-health"); - public static final IntegerFlag MAX_HEAL = new IntegerFlag("heal-max-health"); - public static final IntegerFlag FEED_DELAY = new IntegerFlag("feed-delay"); - public static final IntegerFlag FEED_AMOUNT = new IntegerFlag("feed-amount"); - public static final IntegerFlag MIN_FOOD = new IntegerFlag("feed-min-hunger"); - public static final IntegerFlag MAX_FOOD = new IntegerFlag("feed-max-hunger"); + public static final IntegerFlag HEAL_DELAY = new IntegerFlag("heal-delay", RegionGroup.ALL); + public static final IntegerFlag HEAL_AMOUNT = new IntegerFlag("heal-amount", RegionGroup.ALL); + public static final IntegerFlag MIN_HEAL = new IntegerFlag("heal-min-health", RegionGroup.ALL); + public static final IntegerFlag MAX_HEAL = new IntegerFlag("heal-max-health", RegionGroup.ALL); + public static final IntegerFlag FEED_DELAY = new IntegerFlag("feed-delay", RegionGroup.ALL); + public static final IntegerFlag FEED_AMOUNT = new IntegerFlag("feed-amount", RegionGroup.ALL); + public static final IntegerFlag MIN_FOOD = new IntegerFlag("feed-min-hunger", RegionGroup.ALL); + public static final IntegerFlag MAX_FOOD = new IntegerFlag("feed-max-hunger", RegionGroup.ALL); public static final VectorFlag TELE_LOC = new VectorFlag("teleport", RegionGroup.MEMBERS); public static final VectorFlag SPAWN_LOC = new VectorFlag("spawn", RegionGroup.MEMBERS); public static final BooleanFlag BUYABLE = new BooleanFlag("buyable");