mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-29 19:01:22 +01:00
Fix block dump not respecting the checks.debug and blockbreak.debug
flags.
This commit is contained in:
parent
ce3d1ba89c
commit
2d5dd8770d
@ -756,7 +756,7 @@ public class NoCheatPlus extends JavaPlugin implements NoCheatPlusAPI {
|
||||
// Debug information about unknown blocks.
|
||||
// (Probably removed later.)
|
||||
ConfigFile config = ConfigManager.getConfigFile();
|
||||
BlockProperties.dumpBlocks(config.getBoolean(ConfPaths.BLOCKBREAK_FASTBREAK_DEBUG, false) || config.getBoolean(ConfPaths.BLOCKBREAK, false));
|
||||
BlockProperties.dumpBlocks(config.getBoolean(ConfPaths.BLOCKBREAK_FASTBREAK_DEBUG, config.getBoolean(ConfPaths.BLOCKBREAK_DEBUG, config.getBoolean(ConfPaths.CHECKS_DEBUG, false))));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -88,6 +88,9 @@ public abstract class ConfPaths {
|
||||
* 888 88P' 888 "88 88" "88,e8' 888 8b 888 88P' 888 "YeeP" "88 888 888 8b
|
||||
*/
|
||||
public static final String BLOCKBREAK = CHECKS + "blockbreak.";
|
||||
|
||||
public static final String BLOCKBREAK_DEBUG = BLOCKBREAK + "debug";
|
||||
|
||||
|
||||
private static final String BLOCKBREAK_DIRECTION = BLOCKBREAK + "direction.";
|
||||
public static final String BLOCKBREAK_DIRECTION_CHECK = BLOCKBREAK_DIRECTION + "active";
|
||||
|
Loading…
Reference in New Issue
Block a user