mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-02-06 14:51:23 +01:00
Add example entry for overrideflags (snow: default).
This commit is contained in:
parent
b5e8ee7935
commit
84da47315b
@ -18,6 +18,7 @@ public abstract class ConfPaths {
|
|||||||
public static final String SUB_DEBUG = "debug";
|
public static final String SUB_DEBUG = "debug";
|
||||||
public static final String SUB_IGNOREPASSABLE = RootConfPaths.SUB_IGNOREPASSABLE;
|
public static final String SUB_IGNOREPASSABLE = RootConfPaths.SUB_IGNOREPASSABLE;
|
||||||
public static final String SUB_ALLOWINSTANTBREAK = RootConfPaths.SUB_ALLOWINSTANTBREAK;
|
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";
|
public static final String SUB_LAG = "lag";
|
||||||
|
|
||||||
// General:
|
// General:
|
||||||
|
@ -518,6 +518,8 @@ public class DefaultConfig extends ConfigFile {
|
|||||||
Material.PISTON_MOVING_PIECE.name() // TODO: ?
|
Material.PISTON_MOVING_PIECE.name() // TODO: ?
|
||||||
));
|
));
|
||||||
set(ConfPaths.COMPATIBILITY_BLOCKS + ConfPaths.SUB_ALLOWINSTANTBREAK, new LinkedList<String>());
|
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.
|
// Update internal factory based on all the new entries to the "actions" section.
|
||||||
regenerateActionLists();
|
regenerateActionLists();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user