You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage of rand() seems to work as intended and reflect_docs('rand', 'description') results in
Returns a random number from 0 to max or min to max, depending on usage. Max is exclusive. Min must be less than max. This will return an integer. If no arguments are given, a random double from 0.0 to 1.0 (exclusive) will be returned.
Function: https://github.com/EngineHub/CommandHelper/blob/master/src/main/java/com/laytonsmith/core/functions/Math.java#L1118-L1120
Usage of
rand()
seems to work as intended andreflect_docs('rand', 'description')
results inas expected.
The
rand()
function does have its own API page that works: https://methodscript.com/docs/3.3.5/API/functions/rand.htmlI'm expecting this to be a bug in the API webpage generation code, which might affect other functions as well.
The text was updated successfully, but these errors were encountered: