From aeb9781bd4ba3e0a11d6489e227ea304802096e0 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sat, 12 Oct 2024 17:28:24 -0400 Subject: [PATCH] Remove unused check --- .../java/dev/engine_room/flywheel/impl/compat/CompatMods.java | 1 - .../engine_room/flywheel/impl/mixin/BlockEntityTypeMixin.java | 2 +- fabric/src/main/resources/fabric.mod.json | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/dev/engine_room/flywheel/impl/compat/CompatMods.java b/common/src/main/java/dev/engine_room/flywheel/impl/compat/CompatMods.java index 46a671ea3..1ff9f2be4 100644 --- a/common/src/main/java/dev/engine_room/flywheel/impl/compat/CompatMods.java +++ b/common/src/main/java/dev/engine_room/flywheel/impl/compat/CompatMods.java @@ -6,7 +6,6 @@ import dev.engine_room.flywheel.impl.FlwImplXplat; public enum CompatMods { SODIUM("sodium"), - EMBEDDIUM("embeddium"), IRIS("iris"); private final BooleanSupplier isLoaded; diff --git a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/BlockEntityTypeMixin.java b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/BlockEntityTypeMixin.java index ab9ef91f2..7c6589214 100644 --- a/common/src/main/java/dev/engine_room/flywheel/impl/mixin/BlockEntityTypeMixin.java +++ b/common/src/main/java/dev/engine_room/flywheel/impl/mixin/BlockEntityTypeMixin.java @@ -29,7 +29,7 @@ abstract class BlockEntityTypeMixin implements BlockEntit @Override public void flywheel$setVisualizer(@Nullable BlockEntityVisualizer visualizer) { - if (CompatMods.SODIUM.isLoaded() && !CompatMods.EMBEDDIUM.isLoaded()) { + if (CompatMods.SODIUM.isLoaded()) { if (flywheel$visualizer == null && visualizer != null) { flywheel$sodiumPredicate = SodiumCompat.forBlockEntityType((BlockEntityType) (Object) this); } else if (flywheel$visualizer != null && visualizer == null && flywheel$sodiumPredicate != null) { diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 134654a9e..b94e9847f 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -31,6 +31,7 @@ "fabric-api": "${fabric_api_version_range}" }, "breaks": { - "sodium": "<0.6.0-beta.2" + "sodium": "<0.6.0-beta.2", + "embeddium": "*" } }