diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/ConfPaths.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/ConfPaths.java index 0b53e092..47520dff 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/ConfPaths.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/ConfPaths.java @@ -18,6 +18,7 @@ public abstract class ConfPaths { public static final String SUB_DEBUG = "debug"; public static final String SUB_IGNOREPASSABLE = RootConfPaths.SUB_IGNOREPASSABLE; public static final String SUB_ALLOWINSTANTBREAK = RootConfPaths.SUB_ALLOWINSTANTBREAK; + public static final String SUB_OVERRIDEFLAGS = RootConfPaths.SUB_OVERRIDEFLAGS; public static final String SUB_LAG = "lag"; // General: diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/DefaultConfig.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/DefaultConfig.java index e1a3591d..4ea2534f 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/DefaultConfig.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/config/DefaultConfig.java @@ -518,6 +518,8 @@ public class DefaultConfig extends ConfigFile { Material.PISTON_MOVING_PIECE.name() // TODO: ? )); set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_ALLOWINSTANTBREAK, new LinkedList()); + set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_OVERRIDEFLAGS + ".snow", "default"); + // Update internal factory based on all the new entries to the "actions" section. regenerateActionLists(); }