From 17ffa3eabafb4d7b883b89fbcb1f2ff132d5d42d Mon Sep 17 00:00:00 2001 From: TomTheFurry Date: Fri, 1 Jul 2022 15:05:35 +0800 Subject: [PATCH] It... builds? --- core | 2 +- .../src/main/java/com/seibel/lod/fabric/FabricServerProxy.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core b/core index 239958384..bdc8384c4 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 2399583841c5f06274903014b80a1538f6bd3791 +Subproject commit bdc8384c49dae0f53027043675770302ba085a8e diff --git a/fabric/src/main/java/com/seibel/lod/fabric/FabricServerProxy.java b/fabric/src/main/java/com/seibel/lod/fabric/FabricServerProxy.java index 49227239f..3e88e3d79 100644 --- a/fabric/src/main/java/com/seibel/lod/fabric/FabricServerProxy.java +++ b/fabric/src/main/java/com/seibel/lod/fabric/FabricServerProxy.java @@ -4,6 +4,7 @@ import com.seibel.lod.common.networking.Networking; import com.seibel.lod.common.wrappers.chunk.ChunkWrapper; import com.seibel.lod.common.wrappers.world.LevelWrapper; import com.seibel.lod.core.api.internal.a7.ServerApi; +import com.seibel.lod.core.api.internal.a7.SharedApi; import com.seibel.lod.core.logging.DhLoggerBuilder; import com.seibel.lod.core.wrapperInterfaces.world.ILevelWrapper; import net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents; @@ -56,7 +57,7 @@ public class FabricServerProxy { // ServerWorldLoadEvent //TODO: Check if both of this use the correct timed events. (i.e. is it 'ed' or 'ing' one?) ServerLifecycleEvents.SERVER_STARTING.register((server) -> { - if (isValidTime()) ServerApi.INSTANCE.serverWorldLoadEvent(); + if (isValidTime()) ServerApi.INSTANCE.serverWorldLoadEvent(SharedApi.inDedicatedEnvironment); }); // ServerWorldUnloadEvent ServerLifecycleEvents.SERVER_STOPPED.register((server) -> {