Fix a null pointer exception with explosions