mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 11:27:54 +01:00
Fix sodium compat
This commit is contained in:
parent
566df485d5
commit
7617c8e415
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue