If the neighbour’s pipes leaked and destroyed the cupboard, then the neighbour is responsible. Unless of course the pipe was a common property pipe, in which case the OC is responsible.
That said – if your insurer will pay they can worry about that. But your neigbour may wish to mention it.