From 9ddb442bc97a21e89516ce413c36dcd2c4ac450b Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 9 Nov 2012 21:17:47 +0100 Subject: [PATCH] Add trap_door to ignorepassable default config. --- src/fr/neatmonster/nocheatplus/config/DefaultConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/config/DefaultConfig.java b/src/fr/neatmonster/nocheatplus/config/DefaultConfig.java index a9ac0c95..e80b330b 100644 --- a/src/fr/neatmonster/nocheatplus/config/DefaultConfig.java +++ b/src/fr/neatmonster/nocheatplus/config/DefaultConfig.java @@ -22,7 +22,7 @@ import org.bukkit.Material; public class DefaultConfig extends ConfigFile { /** NCP build needed for this config. */ - public static final int buildNumber = 230; + public static final int buildNumber = 235; /** * Instantiates a new default configuration. @@ -439,7 +439,8 @@ public class DefaultConfig extends ConfigFile { set(ConfPaths.STRINGS + ".tempkick5", "ncp tempkick [player] 5 You have five minutes to think about it!"); set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_IGNOREPASSABLE, Arrays.asList( - Material.WOODEN_DOOR.name(), Material.IRON_DOOR_BLOCK.name(), + Material.WOODEN_DOOR.name(), Material.IRON_DOOR_BLOCK.name(), + Material.TRAP_DOOR.name(), Material.PISTON_EXTENSION.name(), Material.PISTON_MOVING_PIECE.name() // TODO: ? ));