From 7617c8e415609372759de9ded695050f2fff68f9 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sun, 8 Dec 2024 11:14:43 -0500 Subject: [PATCH] Fix sodium compat --- .../java/dev/engine_room/flywheel/impl/compat/SodiumCompat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/dev/engine_room/flywheel/impl/compat/SodiumCompat.java b/common/src/main/java/dev/engine_room/flywheel/impl/compat/SodiumCompat.java index 9afe75a77..130272c43 100644 --- a/common/src/main/java/dev/engine_room/flywheel/impl/compat/SodiumCompat.java +++ b/common/src/main/java/dev/engine_room/flywheel/impl/compat/SodiumCompat.java @@ -48,7 +48,7 @@ public final class SodiumCompat { private static final class Internals { static Object addPredicate(BlockEntityType type) { - BlockEntityRenderPredicate predicate = (getter, pos, be) -> VisualizationHelper.tryAddBlockEntity(be); + BlockEntityRenderPredicate predicate = (getter, pos, be) -> !VisualizationHelper.tryAddBlockEntity(be); BlockEntityRenderHandler.instance().addRenderPredicate(type, predicate); return predicate; }