mirror of
https://github.com/TheWhiteDog9487/ServerAddressSpaceFix.git
synced 2026-06-15 19:24:44 +08:00
更改ModID
同步Fabric Mod Template那边的Kotlin DSL官方配置 移除main入口类的`@Deprecated`标记 ( 我当初为什么要弃用它? 补全ChangeLog.md ( 已经彻底忘记它的存在了 更新Github Action配置 更新Gradle版本 由于本次更改不存在对玩家具有实质影响的内容,故合并到下一个Mod版本内一并发布
This commit is contained in:
@@ -5,12 +5,12 @@ import net.fabricmc.api.ModInitializer;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Deprecated
|
||||
public class ServerAddressSpaceFix implements ModInitializer {
|
||||
// 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.
|
||||
public static final Logger LOGGER = LoggerFactory.getLogger("twd-sasf");
|
||||
public static final String ModID = "serveraddressspacefix";
|
||||
public static final Logger LOGGER = LoggerFactory.getLogger(ModID);
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
|
||||
Reference in New Issue
Block a user