Fix the NPE on playerquitevent