refactor: 临时注释掉环境类型判断条件
将判断服务器环境类型的代码块临时注释掉,以便进行某种测试或调试。这个修改不影响主要功能,只是暂时改变了初始化条件。
This commit is contained in:
parent
61d67213f6
commit
dbe0c05a5f
@ -28,7 +28,10 @@ public class SimpleTombstone implements ModInitializer {
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER) {
|
||||
if (
|
||||
true
|
||||
//FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER
|
||||
) {
|
||||
LOGGER.info("[SimpleTombstone] 服务器端初始化中...");
|
||||
|
||||
// 监听玩家死亡事件
|
||||
|
Loading…
Reference in New Issue
Block a user