Bug fix: null pointer error with some plugins, where we have to search
by name instead of player class.