More context: I made this configuration mod. I know it's not great, it's only my second mod, don't judge me too much. I cannot see for the life of me why this isn't quite working. If anyone could help, I'd greatly appreciate it.