mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-15 14:55:01 +01:00
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:
commit
80f2836b40
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue