Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 8, 2024
1 parent b74ead8 commit f91c476
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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();
}
}

0 comments on commit f91c476

Please sign in to comment.