Fixed if statement
Fixed getPlayerLevel() method.
Changed plugin to this.