Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Aug 7, 2024
1 parent d5cb5fb commit ce77882
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import org.apache.logging.log4j.Logger;
<% } %>
public class <%= it.className %> implements ModInitializer {
public static final String MOD_ID = "<%= it.modid %>";

// This logger is used to write text to the console and the log file.
// 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.
<% 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 ce77882

Please sign in to comment.