Description
The return value of the above function in the Plugin API is unsigned char ( uint8_t ), which is supposed to let or not let player choose a particular class, as many other functions of the Plugin API behave.
Reproducible
Always
What you were doing when the bug happened
Choosing classes
What you think caused the bug
Problem of the above function in the case of class ID 0.