Fix sodium compat

This commit is contained in:
IThundxr 2024-12-08 11:14:43 -05:00
parent 566df485d5
commit 7617c8e415
Failed to generate hash of commit

View file

@ -48,7 +48,7 @@ public final class SodiumCompat {
private static final class Internals { private static final class Internals {
static <T extends BlockEntity> Object addPredicate(BlockEntityType<T> type) { static <T extends BlockEntity> Object addPredicate(BlockEntityType<T> type) {
BlockEntityRenderPredicate<T> predicate = (getter, pos, be) -> VisualizationHelper.tryAddBlockEntity(be); BlockEntityRenderPredicate<T> predicate = (getter, pos, be) -> !VisualizationHelper.tryAddBlockEntity(be);
BlockEntityRenderHandler.instance().addRenderPredicate(type, predicate); BlockEntityRenderHandler.instance().addRenderPredicate(type, predicate);
return predicate; return predicate;
} }