Add example entry for overrideflags (snow: default).

This commit is contained in:
asofold 2013-03-14 08:34:32 +01:00
parent b5e8ee7935
commit 84da47315b
2 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -518,6 +518,8 @@ public class DefaultConfig extends ConfigFile {
Material.PISTON_MOVING_PIECE.name() // TODO: ?
));
set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_ALLOWINSTANTBREAK, new LinkedList<String>());
set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_OVERRIDEFLAGS + ".snow", "default");
// Update internal factory based on all the new entries to the "actions" section.
regenerateActionLists();
}