Why is returning null? I’m writing for fun a random encounter generator for a D&D campaign using Java!