fix: always return InteractionResult#SUCCESS when effect available
This commit is contained in:
parent
bdccd0c7f3
commit
b183e99b3c
@ -126,8 +126,8 @@ object CyberInstrumentBlock : Block(
|
||||
val entity = level.getBlockEntity(pos) as CyberInstrumentBlockEntity
|
||||
if (entity.player == null) {
|
||||
entity.startMusic()
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
return InteractionResult.SUCCESS
|
||||
}
|
||||
return super.use(state, level, pos, player, hand, hit)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user