mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-22 11:20:08 +01:00
Fix notifyGatherers not referencing a method with appropriate checks in place
This commit is contained in:
parent
e52b59097e
commit
a8cf3e29a4
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ public class DisplayLinkBlock extends WrenchableDirectionalBlock implements IBE<
|
|||
placed = placed.setValue(FACING, context.getClickedFace());
|
||||
return placed.setValue(POWERED, shouldBePowered(placed, context.getLevel(), context.getClickedPos()));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void setPlacedBy(Level pLevel, BlockPos pPos, BlockState pState, LivingEntity pPlacer, ItemStack pStack) {
|
||||
super.setPlacedBy(pLevel, pPos, pState, pPlacer, pStack);
|
||||
|
@ -65,7 +65,7 @@ public class DisplayLinkBlock extends WrenchableDirectionalBlock implements IBE<
|
|||
}
|
||||
|
||||
public static void notifyGatherers(LevelAccessor level, BlockPos pos) {
|
||||
forEachAttachedGatherer(level, pos, DisplayLinkBlockEntity::updateGatheredData);
|
||||
forEachAttachedGatherer(level, pos, DisplayLinkBlockEntity::tickSource);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
Loading…
Add table
Reference in a new issue