Skip to content

Commit

Permalink
Update HangingTendrilBlock.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Nov 13, 2023
1 parent b34f1c4 commit ae388f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public boolean hasAnalogOutputSignal(@NotNull BlockState state) {
}

@Override
public int getAnalogOutputSignal(@NotNull BlockState state, Level level, @NotNull BlockPos pos) {
public int getAnalogOutputSignal(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos) {
BlockEntity blockEntity = level.getBlockEntity(pos);
if (blockEntity instanceof HangingTendrilBlockEntity hangingEntity) {
return SculkSensorBlock.getPhase(state) == SculkSensorPhase.ACTIVE ? hangingEntity.getLastVibrationFrequency() : 0;
Expand Down

0 comments on commit ae388f5

Please sign in to comment.