Skip to content

Commit

Permalink
Update Entrypoint.java.eta , Fixs from discord
Browse files Browse the repository at this point in the history
  • Loading branch information
JaaiDead authored and JaaiDead committed Aug 6, 2024
1 parent 6ee4336 commit d5cb5fb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import org.apache.logging.log4j.LogManager;
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);<% } %>
<% 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() {
Expand Down

0 comments on commit d5cb5fb

Please sign in to comment.