Fixed runtime crashes
This commit is contained in:
parent
770f12ee20
commit
2aa6243f40
5 changed files with 17 additions and 14 deletions
|
@ -432,8 +432,9 @@ public class PedestalBlock extends BaseBlockNotFull implements EntityBlock {
|
|||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level level, BlockEntityType<T> blockEntityType) {
|
||||
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level level, BlockState blockState, BlockEntityType<T> blockEntityType) {
|
||||
return level.isClientSide() ? null : createTickerHelper(blockEntityType, EndBlockEntities.PEDESTAL, PedestalBlockEntity::tick);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue