Merge pull request #6769 from Attack8/mc1.18/pause-display-links

Add check for Display Link power before gathering data
This commit is contained in:
simibubi 2024-08-06 14:00:50 +02:00 committed by GitHub
commit 80f2836b40
Failed to generate hash of commit

View file

@ -65,7 +65,7 @@ public class DisplayLinkBlock extends WrenchableDirectionalBlock implements IBE<
} }
public static void notifyGatherers(LevelAccessor level, BlockPos pos) { public static void notifyGatherers(LevelAccessor level, BlockPos pos) {
forEachAttachedGatherer(level, pos, DisplayLinkBlockEntity::updateGatheredData); forEachAttachedGatherer(level, pos, DisplayLinkBlockEntity::tickSource);
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")