protected void initParser ( ) throws MtasConfigException { if ( config != null ) { // find namespaceURI for ( int i = 0 ; i < config . children . size ( ) ; i ++ ) { MtasConfiguration current = config . children . get ( i ) ; if ( current . name . equals ( "autorepair" ) ) { autorepair = current . attributes . get ( "value" ) . equals ( "true" ) ; } if ( current . name . equals ( "makeunique" ) ) { makeunique = current . attributes . get ( "value" ) . equals ( "true" ) ; } } } }
Inits the parser .