use of fr.neatmonster.nocheatplus.checks.chat.analysis.engine.LetterEngine in project NoCheatPlus by NoCheatPlus.
the class Text method init.
private void init() {
// Set some things from the global config.
final ConfigFile config = ConfigManager.getConfigFile();
final NoCheatPlusAPI api = NCPAPIProvider.getNoCheatPlusAPI();
if (engine != null) {
engine.clear();
api.removeComponent(engine);
}
engine = new LetterEngine(config);
api.addComponent(engine);
}
Aggregations