Fixed beanlet chanceloot crash.

I'll fix this properly later.