Created by: Hodel1
Prevent Nullpointer Exception if player has no group and/or detect the default group instead