Skip to content

Commit

Permalink
Fix duplicate compat mod class
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Nov 1, 2024
1 parent ad93839 commit 6a71ed8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import dev.engine_room.flywheel.impl.FlwImplXplat;

public enum CompatMod {
EMBEDDIUM("embeddium"),
IRIS("iris"),
OCULUS("oculus"),
SODIUM("sodium");

public final String id;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.spongepowered.asm.mixin.Unique;

import dev.engine_room.flywheel.api.visualization.BlockEntityVisualizer;
import dev.engine_room.flywheel.impl.compat.CompatMods;
import dev.engine_room.flywheel.impl.compat.SodiumCompat;
import dev.engine_room.flywheel.impl.extension.BlockEntityTypeExtension;
import net.minecraft.world.level.block.entity.BlockEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dev.engine_room.flywheel.impl;

import dev.engine_room.flywheel.api.event.ReloadLevelRendererCallback;
import dev.engine_room.flywheel.impl.compat.CompatMods;
import dev.engine_room.flywheel.impl.compat.CompatMod;
import dev.engine_room.flywheel.impl.compat.FabricSodiumCompat;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.client.multiplayer.ClientLevel;
Expand Down Expand Up @@ -34,6 +34,6 @@ public boolean useSodium0_6Compat() {

@Override
public boolean useIrisCompat() {
return CompatMods.IRIS.isLoaded;
return CompatMod.IRIS.isLoaded;
}
}

0 comments on commit 6a71ed8

Please sign in to comment.