From f91c476903c03ef26ff9d1fcd00db5ca2d3e0607 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Tue, 8 Oct 2024 17:04:05 -0400 Subject: [PATCH] fix bug --- .../java/dev/ithundxr/railwaystweaks/RailwaysTweaks.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/dev/ithundxr/railwaystweaks/RailwaysTweaks.java b/src/main/java/dev/ithundxr/railwaystweaks/RailwaysTweaks.java index 65bbabc..e1ebd0b 100644 --- a/src/main/java/dev/ithundxr/railwaystweaks/RailwaysTweaks.java +++ b/src/main/java/dev/ithundxr/railwaystweaks/RailwaysTweaks.java @@ -6,7 +6,6 @@ import net.fabricmc.loader.api.FabricLoader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.spongepowered.asm.mixin.MixinEnvironment; import dev.ithundxr.railwaystweaks.commands.RailwaysTweaksCommands; public class RailwaysTweaks implements ModInitializer { @@ -20,10 +19,7 @@ public void onInitialize() { RailwaysTweaksCommands.init(); - //if (FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER) + if (FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER) BanModCompat.init(); - - //if (FabricLoader.getInstance().isDevelopmentEnvironment()) - // MixinEnvironment.getCurrentEnvironment().audit(); } }