I'm making a small mod which adds a custom religion with religious head and it all works however whenever I start up the game it would have the republic government type(iqta before I took the latest update from GitHub) rather than theocracy and was wandering if there was any reason for this and if there are any fixes.
I've also tested this with vanilla CKII and found that it does auto detect as a theocracy.
I've also tested this with vanilla CKII and found that it does auto detect as a theocracy.