Made the NotEnoughMods integration more robust