优化WelcomeProcedure写法
This commit is contained in:
parent
dbd96a7ee6
commit
802b11f674
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class WelcomeProcedure {
|
|||
Logger logger = null;
|
||||
if ((logger == null ? logger = TargetMod.LOGGER : LogManager.getLogger(TargetMod.class)) instanceof Logger) {
|
||||
{
|
||||
Logger _lgr = (Logger) logger;
|
||||
Logger _lgr = ((Logger) (logger == null ? logger = TargetMod.LOGGER : LogManager.getLogger(TargetMod.class)));
|
||||
_lgr.info("This Mod is made by MCreator!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue