Add logging to mod constructors

This commit is contained in:
Aizistral
2026-01-26 20:22:18 +01:00
parent 862086c801
commit 6d982a8d9a
2 changed files with 6 additions and 2 deletions

View File

@@ -1,12 +1,14 @@
package com.aizistral.nochatrestrictions;
import com.aizistral.nochatrestrictions.core.NCRCore;
import net.fabricmc.api.ModInitializer;
public class NoChatRestrictions implements ModInitializer {
@Override
public void onInitialize() {
// NO-OP
NCRCore.LOGGER.info("NoChatRestrictions Fabric mod initialized!");
}
}

View File

@@ -1,12 +1,14 @@
package com.aizistral.nochatrestrictions;
import com.aizistral.nochatrestrictions.core.NCRCore;
import net.minecraftforge.fml.common.Mod;
@Mod("nochatrestrictions")
public class NoChatRestrictions {
public NoChatRestrictions() {
// NO-OP
NCRCore.LOGGER.info("NoChatRestrictions Forge mod initialized!");
}
}