Tweaked a couple of things so that it doesn't crash during world generation, before the custom block populator has been applied