Fix Nullpointer for players logging out during invulnarability

Signed-off-by: Andre Schweiger <andre.spiele@yahoo.de>