diff --git a/src/main/java/rbasamoyai/createbigcannons/munitions/big_cannon/FuzedProjectileBlock.java b/src/main/java/rbasamoyai/createbigcannons/munitions/big_cannon/FuzedProjectileBlock.java index c6d7e7d6..aafb180f 100644 --- a/src/main/java/rbasamoyai/createbigcannons/munitions/big_cannon/FuzedProjectileBlock.java +++ b/src/main/java/rbasamoyai/createbigcannons/munitions/big_cannon/FuzedProjectileBlock.java @@ -104,6 +104,9 @@ public InteractionResult use(BlockState state, Level level, BlockPos pos, Player } } fuzedBlock.notifyUpdate(); + if (!level.getBlockTicks().willTickThisTick(pos, this)) { + level.scheduleTick(pos, this, 0); + } } level.playSound(player, pos, SoundEvents.ITEM_FRAME_REMOVE_ITEM, SoundSource.NEUTRAL, 1.0f, 1.0f); return InteractionResult.sidedSuccess(level.isClientSide); @@ -123,6 +126,9 @@ public InteractionResult use(BlockState state, Level level, BlockPos pos, Player copy.setCount(1); fuzedBlock.setItem(slot, copy); fuzedBlock.notifyUpdate(); + if (!level.getBlockTicks().willTickThisTick(pos, this)) { + level.scheduleTick(pos, this, 0); + } } level.playSound(null, pos, SoundEvents.ITEM_FRAME_ADD_ITEM, SoundSource.NEUTRAL, 1.0f, 1.0f); return InteractionResult.sidedSuccess(level.isClientSide);