This logic hooks into the neighbour update which should be invoked as a result of redstone powering the trap door.