fix logging config not taking effect
This commit is contained in:
parent
39c28b7661
commit
c6b5399488
@ -35,10 +35,12 @@ public class Flan implements ModInitializer {
|
||||
}
|
||||
|
||||
public static void log(String msg, Object... o){
|
||||
logger.info(msg, o);
|
||||
if(ConfigHandler.config.log)
|
||||
logger.info(msg, o);
|
||||
}
|
||||
|
||||
public static void debug(String msg, Object... o){
|
||||
logger.debug(msg, o);
|
||||
if(ConfigHandler.config.log)
|
||||
logger.debug(msg, o);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user