Skip to content

Commit

Permalink
Indentation Test
Browse files Browse the repository at this point in the history
  • Loading branch information
JaaiDead committed Aug 5, 2024
1 parent acac5a5 commit abee109
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ public class <%= it.className %> implements ModInitializer {
// It is considered best practice to use your mod id as the logger's name.
// That way, it's clear which mod wrote info, warnings, and errors.
public static final String MOD_ID = "<%= it.modid %>";
<% if (it.slf4j) { %> public static final Logger LOGGER = LoggerFactory.getLogger("<%= MOD_ID %>");
<% } else { %> public static final Logger LOGGER = LogManager.getLogger("<%= MOD_ID %>");<% } %>
<% if (it.slf4j) { %>
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
<% } else { %>
public static final Logger LOGGER = LogManager.getLogger(MOD_ID);<% } %>
@Override
public void onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state.
Expand Down

0 comments on commit abee109

Please sign in to comment.