If the Tardis decides to have a coffee machine and isn't immune to coffee, then at least one of these things is the case: 1. The Tardis somehow had a lack of foresight for that moment 2. The Tardis expected this to happen and just felt like being dramatic about it 3. The Tardis is a masochist