Fix custom Lua blocks by initing lua before generating world